Click here to Skip to main content
15,909,199 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Retrieve Usernames from remote forum mysql database Pin
Marcus J. Smith27-Mar-07 2:37
professionalMarcus J. Smith27-Mar-07 2:37 
GeneralRe: Retrieve Usernames from remote forum mysql database Pin
LegionFX27-Mar-07 2:57
LegionFX27-Mar-07 2:57 
GeneralRe: Retrieve Usernames from remote forum mysql database Pin
Marcus J. Smith27-Mar-07 3:02
professionalMarcus J. Smith27-Mar-07 3:02 
GeneralRe: Retrieve Usernames from remote forum mysql database Pin
LegionFX27-Mar-07 3:09
LegionFX27-Mar-07 3:09 
GeneralRe: Retrieve Usernames from remote forum mysql database Pin
Marcus J. Smith27-Mar-07 3:28
professionalMarcus J. Smith27-Mar-07 3:28 
GeneralRe: Retrieve Usernames from remote forum mysql database Pin
LegionFX27-Mar-07 3:36
LegionFX27-Mar-07 3:36 
QuestionPassing parameters to Access Pin
Central_IT27-Mar-07 1:41
Central_IT27-Mar-07 1:41 
AnswerRe: Passing parameters to Access Pin
Dave Kreskowiak27-Mar-07 7:38
mveDave Kreskowiak27-Mar-07 7:38 
The standard way to do it is to use an OleDbCommand object, supplying it with the name of the stored procedure, and a couple of OleDbParameter objects.
Dim conn As New OleDbConnection("connection string")
Dim comm As New OleDbCommand("myQuery", conn)

' DateTime takes arguments in Year, Month, Day order.
comm.Parameters.Add("@p1", OleDbType.Date).Value = New DateTime(1999, 1, 1)
comm.Parameters.Add("@p2", OleDbType.Date).Value = New DateTime(1999, 1, 30)

Dim rdr As OleDbDataReader = comm.ExecuteReader()


Dave Kreskowiak
Microsoft MVP - Visual Basic


GeneralRe: Passing parameters to Access Pin
Central_IT28-Mar-07 2:55
Central_IT28-Mar-07 2:55 
Questionopening a text file by rightclick openwith option Pin
balakpn27-Mar-07 0:35
balakpn27-Mar-07 0:35 
AnswerRe: opening a text file by rightclick openwith option Pin
sathesh pandian27-Mar-07 0:55
sathesh pandian27-Mar-07 0:55 
GeneralRe: opening a text file by rightclick openwith option Pin
balakpn27-Mar-07 3:41
balakpn27-Mar-07 3:41 
Questionlicensing our product Pin
balakpn27-Mar-07 0:14
balakpn27-Mar-07 0:14 
AnswerRe: licensing our product Pin
Christian Graus27-Mar-07 2:18
protectorChristian Graus27-Mar-07 2:18 
QuestionWant to display based on date............... Pin
Member 387988126-Mar-07 23:28
Member 387988126-Mar-07 23:28 
AnswerRe: Want to display based on date............... Pin
Tirthadip26-Mar-07 23:46
Tirthadip26-Mar-07 23:46 
GeneralRe: Want to display based on date............... Pin
Member 387988127-Mar-07 0:15
Member 387988127-Mar-07 0:15 
Questionhow to create dynamic data reports in vb6 Pin
Drake153226-Mar-07 23:26
Drake153226-Mar-07 23:26 
Questionfile dialog box.................. Pin
Member 387988126-Mar-07 22:01
Member 387988126-Mar-07 22:01 
AnswerRe: file dialog box.................. Pin
Tirthadip26-Mar-07 22:44
Tirthadip26-Mar-07 22:44 
GeneralRe: file dialog box.................. Pin
Member 387988126-Mar-07 23:58
Member 387988126-Mar-07 23:58 
GeneralRe: file dialog box.................. Pin
Tirthadip27-Mar-07 0:48
Tirthadip27-Mar-07 0:48 
QuestionOrdering columns in a DataGridView Pin
steve_rm26-Mar-07 20:31
steve_rm26-Mar-07 20:31 
AnswerRe: Ordering columns in a DataGridView Pin
Tirthadip26-Mar-07 21:51
Tirthadip26-Mar-07 21:51 
QuestionSaving/Restoring ActiveX/ocx control paremeters Pin
GaryAW26-Mar-07 20:29
GaryAW26-Mar-07 20:29 

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.