Click here to Skip to main content
15,901,505 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionCenter image in picture box? Pin
leezardd24-Mar-05 4:23
leezardd24-Mar-05 4:23 
AnswerRe: Center image in picture box? Pin
H@is@here24-Mar-05 11:57
H@is@here24-Mar-05 11:57 
GeneralRe: Center image in picture box? Pin
leezardd29-Mar-05 4:48
leezardd29-Mar-05 4:48 
GeneralSetup and deployment Project Pin
Purple Monk24-Mar-05 3:36
Purple Monk24-Mar-05 3:36 
GeneralRe: Setup and deployment Project Pin
rwestgraham24-Mar-05 17:09
rwestgraham24-Mar-05 17:09 
Generalcombobox in datagrid vb.net Pin
vsing24-Mar-05 0:24
vsing24-Mar-05 0:24 
GeneralRe: combobox in datagrid vb.net Pin
j45mw26-Mar-05 6:54
j45mw26-Mar-05 6:54 
GeneralUsing VB to search data in Access database Pin
Anonymous23-Mar-05 23:16
Anonymous23-Mar-05 23:16 
Im currently using the VB6.0 to search for data in Access 97's database. But even i can see the comparison showing the same results, it still say "not same" then it just to the next record. Does anyone know about the reocrd searching function in VB6.0? If you know, i wish that you can help me on this matter. the following is my code.



Private Sub SearchRegNum()

Data1.Refresh
Data1.Recordset.MoveFirst

Do While Data1.Recordset.EOF = False



MsgBox "'" & Data1.Recordset.Fields(14) & "'" & " XXXX " & "'" & txtTest.Text & "'"

If Data1.Recordset.Fields(14) = txtTest.Text Then

MsgBox "SAME ==> FOUND"

txtName.Text = Data1.Recordset.Fields(2)
txtID.Text = Data1.Recordset.Fields(3)
txtRegNum.Text = Data1.Recordset.Fields(14)

Exit Do

Else

MsgBox "Not SAME"
Data1.Recordset.MoveNext

End If
Loop


If Data1.Recordset.EOF = True Then
MsgBox "Vehicle Not Registered.", vbExclamation, "error"

End If
End Sub
GeneralRe: Using VB to search data in Access database Pin
magnifique24-Mar-05 0:28
magnifique24-Mar-05 0:28 
GeneralRe: Using VB to search data in Access database Pin
magnifique24-Mar-05 0:35
magnifique24-Mar-05 0:35 
Generaluse the scrollbar with the datagrid and the checkboxlist...please help... Pin
besah23-Mar-05 20:47
besah23-Mar-05 20:47 
Generalproblem with CurrencyManager Pin
Anonymous23-Mar-05 18:10
Anonymous23-Mar-05 18:10 
GeneralCOM object Memory Access Pin
JimWills23-Mar-05 16:31
JimWills23-Mar-05 16:31 
GeneralFolder Creation Pin
Winston98223-Mar-05 13:26
Winston98223-Mar-05 13:26 
GeneralRe: Folder Creation Pin
Christian Graus23-Mar-05 15:21
protectorChristian Graus23-Mar-05 15:21 
GeneralRe: Folder Creation Pin
H@is@here24-Mar-05 12:49
H@is@here24-Mar-05 12:49 
GeneralRe: Folder Creation Pin
Christian Graus24-Mar-05 15:53
protectorChristian Graus24-Mar-05 15:53 
GeneralRe: Folder Creation Pin
j45mw26-Mar-05 16:10
j45mw26-Mar-05 16:10 
GeneralRe: Folder Creation Pin
Christian Graus27-Mar-05 19:44
protectorChristian Graus27-Mar-05 19:44 
GeneralRe: Folder Creation Pin
Dave Kreskowiak24-Mar-05 1:43
mveDave Kreskowiak24-Mar-05 1:43 
Generalcan't start a new project Pin
Dave Pursey23-Mar-05 13:01
Dave Pursey23-Mar-05 13:01 
GeneralRe: can't start a new project Pin
Christian Graus23-Mar-05 13:21
protectorChristian Graus23-Mar-05 13:21 
GeneralRe: can't start a new project Pin
Dave Kreskowiak23-Mar-05 13:26
mveDave Kreskowiak23-Mar-05 13:26 
GeneralCurrency Converter Pin
Stuwart23-Mar-05 2:52
sussStuwart23-Mar-05 2:52 
GeneralRe: Currency Converter Pin
Dave Kreskowiak23-Mar-05 11:18
mveDave Kreskowiak23-Mar-05 11:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.