10,991 Topics

Member Avatar for
Member Avatar for ABSOR

I have a text file that I open and attempt to read the individual lines. I have used the same code before on other files with no problem, but for some reason, this particular file is strange. When I do the following command; Line Input #1, read_string the string read_string …

0
150
Member Avatar for smart_virus87

Hi, I'm going to send a byte to the .dll to retrieve machine information. Right now I'm using the string to pass the value to CBMReader and I able to retrieve the value. Dim Devc as String Dim CBMReader as String For i = 0 To 50 If tempDev = …

0
117
Member Avatar for alina.nazchowdhury

Hello, i would like to allow the user to press Retry button from msgbox only 3 times. I just don't succedd to do it, here is my code if anybody can help me? Private Sub cmdValid_Click() Dim Response As Integer If txtPassword.Text = txtPassword.Tag Then MsgBox "You've passed security!", vbOKOnly …

Member Avatar for alina.nazchowdhury
0
541
Member Avatar for jemartalaban_1

I was given a task that I need to print in a letter size paper the letter of promissory for a school, but first there is a form that will ask the user the information needed to be filled in the letter of promissory. After the user filled the textbox …

0
89
Member Avatar for jemartalaban_1

hi, my professor ask us to create a program that has auto logout feature after 2mins or set my own time to logout, after the user logged in to the machine, if ever he or she left it without pressing the logout after 2 mins of being idle or standby …

Member Avatar for jemartalaban_1
0
272
Member Avatar for fx.eko

how to connect sql server 2000 database with multiple connections I got a sample database DB1 and DB2, the DB1 I have table A, and I got a table on DB2 B, between A and B table no direct relation thanks for the enlightenment

0
161
Member Avatar for Red_Rain

perhaps there is some sort of logic error i am missing here but i cannot figure out whats going wrong. I wrote this simple for loop to write the contents of a ComboBox to a txt file. The process works but for some reason it is doing the job twice. …

Member Avatar for Reverend Jim
0
175
Member Avatar for mavtcr

Friends please help me in FORMATTING DATE I have a Form with three text boxes 1.txtNo- Data type-Number 2.txtName-Data type-Text 3.txtDob-Data type -Date format dd/MM/yyyy two buttons one for adding and the other for viewing Using visual data manager I have created a database-Members with table-List having the following Fields …

Member Avatar for mavtcr
0
293
Member Avatar for Saboor880
Member Avatar for Deep Modi

I want to try this: I want that the look of my textbox must be like the coding in the visual Basic. I mean When we type the code in the vb then we get the look like: "if", "else", "end if" is in colourful and all other... In Short …

Member Avatar for Deep Modi
0
268
Member Avatar for SaRa Ahmad

how i can return multiple row in sql data base in one row using crystal report?? , for Example 1 DWG1 1 30-5-2013 1 DWG1 2 16-9-2013 in Crystal Report i need to show 1 DWG1 20-11-2013 30-5-2013 16-9-2013 Any Idea Please ??

Member Avatar for SaRa Ahmad
0
78
Member Avatar for zoraster01

can you help me to my fingerprint scanner .. do you have idea how will work to vb6 .. i am doing a time attendance.. its better if its a simple program.

Member Avatar for abubakar.hamza.520
0
564
Member Avatar for mavtcr

Friends, Please help me I have a form having 3 text boxes of data type number one text box for display- also number type one command button I want to add the figures of the three text boxes my code is as below Private Sub Command1_Click() Dim Total As Long …

Member Avatar for rishif2
0
210
Member Avatar for guru511

hi, how to get the time difference in vb6 exp; dt1 = now() ' dt1=08/Aug/07 12:57 PM dt2=some date n time now i want to find the difference between these two in terms of time... can u plz tell me how to do that

Member Avatar for rishif2
0
2K
Member Avatar for decade

Hi everyone, I'm a newbie in VB.net I would like to ask if there is a code or equivalent code or script like $_SESSION variable of PHP in VB.Net Thanks;

Member Avatar for JorgeM
0
174
Member Avatar for srkv03

Hi, I am having problems with TCPIP coding on VB6. I have a timer which checks for connection. This timer is set to a minute.Everytime the timer code executes the entire application freezes. It performs normally after the connection checking loop. One last thing to mention is I am connected …

Member Avatar for srkv03
0
108
Member Avatar for Alessandrorenzi

Hello, I need to have communications and data sharing between applications in VB6 running on the same PC with XP sp3. But I have not experience with IPC solutions, so what is more efficient ( and simple) solution? Thanks

0
74
Member Avatar for jemartalaban_1

For our project where using a Touch Screen as pointer, and when the user tapped the screen the timer or progress bar will reset to 0 then if the screen didn't tapped in 2 minutes the program will back to login form. Please help.

Member Avatar for jemartalaban_1
0
115
Member Avatar for baabjitvk

hi.. i'm using visual basic 2008. and ms access 2007. i inserted check boxes in table to get many records at a time. i.e all checked records will be collected. i have two problems. can you please give me solutions.. 1. how to write a query to meet 'check box …

Member Avatar for srkv03
0
187
Member Avatar for ricardo.driju

Hi everyone, please help me, i don't know how to insert a datepicker in VB4. I am trying to find something in the web, but there is no documentation about it. I will apreciate a lot the help. Thanks in advanced.

Member Avatar for mridul.ahuja
0
70
Member Avatar for alina.nazchowdhury

i have three buttons and i want to disable a button until the first is pressed. Can anyone give me a clue, i guess is with if statements, but i don't know to do it.

Member Avatar for mridul.ahuja
0
164
Member Avatar for priyamtheone

MSDN recommends disposing any variable of type System.Drawing.Brush before its last reference is released. Otherwise, the resources it is using will not be freed until the garbage collector calls the Brush object's Finalize method. As we know, local variables are destroyed automatically when the control flow goes out of the …

Member Avatar for Momerath
0
213
Member Avatar for swargano1

I create new Vb 6 project and I want to connect to my server database how ? **I wrote in general Declarations** Dim conn As ADODB.Connection Dim rs As ADODB.Recordset Dim username As String Dim passwd As String Dim serverIP As String Dim db As String Dim ssql As String …

0
58
Member Avatar for DM Galaxy

I just want to create an application where the user click on the "check for Update" button, My application start to check update. Uptill this I hav done so. I use this Code for this: Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create("pastebin link") Dim response As System.Net.HttpWebResponse = request.GetResponse() Dim sr …

Member Avatar for DM Galaxy
0
295
Member Avatar for sonunclejalil

my project is want to slide horizontal and vertical a picture using kinect in VB 2013, the problem is, i don't know how to define the I/O, here i got some coding from kinect skeleton tracking. i hope that some one can teach me what to do with the code …

0
150
Member Avatar for styleest

I designed a software in visual basic 6.0 and it runs perfectly on my system that has windows Xp operating system but after i deployed and packaged it and tried to install on another system using windows 7 or Vista, its installs but when you click on some of the …

Member Avatar for hares
0
1K
Member Avatar for Alessandrorenzi

I already build a program-Client and a program-server with vb6. Program-server is on a remote PC. Client and server are connected to internet, and comunicate with socket when they are running. But now I need to add, if it is possible, that program-client verify if program-server is already running before …

0
70
Member Avatar for bullet_1

1) <s>Hai Dani</s> 2) <s>HAI DANI</s> 3) <s>hai dani</s> This code gives correct output for only first sentence Selection.Find.ClearFormatting Selection.Find.Replacement.ClearFormatting With Selection.Find.Replacement .Font.SmallCaps = True End With With Selection.Find .Text = "\<s\>(*)\</s\>" .Replacement.Text = "\1" .Forward = True .Wrap = wdFindContinue .Format = True .MatchCase = False .MatchWholeWord = False …

0
81
Member Avatar for Mafiamanandre

Hi all. I would like to know how can I code form1 to open form2 immediately when form1 loaded in Visual Basic? eg. Form1 opens and immediately form2 opens. This is almost like website redirection. Thanks.

Member Avatar for DM Galaxy
0
487
Member Avatar for mbf97316

How can I save the data comes from my flexgrid and save it to my access using vb6? Private Sub Command2_Click() opendata With save .AddNew !product = fg.Col = 1: !quantity = fg.Col = 2: !price = fg.Col = 3: !total_price = fg.Col = 4 .Update End With End Sub

0
77

The End.