Click here to Skip to main content
15,890,438 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralConvert to Date Pin
nitin_ion23-Nov-04 2:37
nitin_ion23-Nov-04 2:37 
GeneralRe: Convert to Date Pin
Dave Kreskowiak23-Nov-04 3:04
mveDave Kreskowiak23-Nov-04 3:04 
GeneralRe: Convert to Date Pin
nitin_ion23-Nov-04 4:56
nitin_ion23-Nov-04 4:56 
GeneralRe: Convert to Date Pin
cwayman23-Nov-04 5:30
cwayman23-Nov-04 5:30 
GeneralRe: Convert to Date Pin
Dave Kreskowiak23-Nov-04 6:31
mveDave Kreskowiak23-Nov-04 6:31 
GeneralBest way in getting reading from joystick in VBNet Pin
l03001022-Nov-04 19:23
l03001022-Nov-04 19:23 
GeneralRe: Best way in getting reading from joystick in VBNet Pin
Dave Kreskowiak23-Nov-04 0:46
mveDave Kreskowiak23-Nov-04 0:46 
GeneralFill Labels with SQL Search Results .Net Pin
jlawren722-Nov-04 15:57
jlawren722-Nov-04 15:57 
I need help finishing the code t fill the labels on my form with the search results. this i what i have (Not even sure this is gonna work as well )
<br />
Dim Cnxn As New ADODB.Connection<br />
        Dim cmdChange As ADODB.Command<br />
        'Connection String<br />
        Dim strCnxn As String<br />
        'SQL Query<br />
        Dim strSQL As String<br />
        'search criteria<br />
        Dim strSearchLName, strSearchFName As String<br />
        Dim Now As DateTime<br />
        Dim UserPassID As Integer<br />
        UserPassID = Val(lblPassID.Text)<br />
        strSearchLName = txtLName.Text<br />
        strSearchFName = txtFName.Text<br />
        ' define strSQL to insert the fields<br />
        strSQL = "SELECT * FROM Contacts WHERE (LName) = '" & strSearchLName & "' AND (FName) = '" & strSearchFName & "'"<br />
        strCnxn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\RMSC LOGIN\MYDataBase.mdb;Persist Security Info=False"<br />
        Cnxn = New ADODB.Connection<br />
        Cnxn.Open(strCnxn)<br />
        cmdChange = New ADODB.Command ' Create command object<br />
        cmdChange.ActiveConnection = Cnxn<br />
        cmdChange.CommandText = strSQL<br />
        cmdChange.Execute() ' execute the SQL command<br />
        ' Fill the Labels with the Search results <br />
        This is where i Fail !!!!!     <br />
        Cnxn.Close() ' Close everything<br />
        Cnxn = Nothing<br />


Any Help would be appreciated
Thank you
the detail!!!!
form name Contactinfo
labels on theForm as follows....
lblFName
lblLName
lblAddress
lblCity
lblState
lblZip
lblPhone
lblEmail
lblPassID
if possible this is gonna run in button Click event

Thank You Scholars!!!Laugh | :laugh:

Help is great only if yu ask correctly
GeneralHighlighting a Row in a Datagrid Pin
tech@untouchable22-Nov-04 14:22
tech@untouchable22-Nov-04 14:22 
GeneralImplementing Permissions Over Remoting Pin
Paebbels22-Nov-04 11:18
Paebbels22-Nov-04 11:18 
GeneralDeployment Project questions Pin
KreativeKai22-Nov-04 8:58
professionalKreativeKai22-Nov-04 8:58 
GeneralCalling a &quot;Final&quot; routine when application is ended by machine closing. Pin
HollenG22-Nov-04 7:32
HollenG22-Nov-04 7:32 
GeneralRe: Calling a &quot;Final&quot; routine when application is ended by machine closing. Pin
Dennis C. Dietrich22-Nov-04 8:52
Dennis C. Dietrich22-Nov-04 8:52 
GeneralRe: Calling a &quot;Final&quot; routine when application is ended by machine closing. Pin
HollenG22-Nov-04 9:22
HollenG22-Nov-04 9:22 
GeneralRe: Calling a &quot;Final&quot; routine when application is ended by machine closing. Pin
HollenG23-Nov-04 6:59
HollenG23-Nov-04 6:59 
GeneralRe: Calling a &quot;Final&quot; routine when application is ended by machine closing. Pin
Dennis C. Dietrich23-Nov-04 15:09
Dennis C. Dietrich23-Nov-04 15:09 
GeneralSOAPY Naked Ladies Pin
Purple Monk22-Nov-04 4:10
Purple Monk22-Nov-04 4:10 
GeneralRe: SOAPY Naked Ladies Pin
LaFéeClochette23-Nov-04 9:13
LaFéeClochette23-Nov-04 9:13 
GeneralRegistry Keys Pin
cwayman22-Nov-04 3:31
cwayman22-Nov-04 3:31 
GeneralRe: Registry Keys Pin
Dave Kreskowiak22-Nov-04 3:37
mveDave Kreskowiak22-Nov-04 3:37 
GeneralRe: Registry Keys Pin
cwayman22-Nov-04 4:42
cwayman22-Nov-04 4:42 
GeneralRe: Registry Keys Pin
Dave Kreskowiak22-Nov-04 6:51
mveDave Kreskowiak22-Nov-04 6:51 
GeneralRe: Registry Keys Pin
Charlie Williams22-Nov-04 8:32
Charlie Williams22-Nov-04 8:32 
GeneralRe: Registry Keys Pin
cwayman23-Nov-04 3:39
cwayman23-Nov-04 3:39 
GeneralNewbies Question :How to use DirectX in VB Pin
VbAby22-Nov-04 2:04
VbAby22-Nov-04 2:04 

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.