Click here to Skip to main content
15,925,113 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionNeed to connect to sqlserver... Pin
y_mmohd17-Jan-06 3:19
y_mmohd17-Jan-06 3:19 
AnswerRe: Need to connect to sqlserver... Pin
Guffa17-Jan-06 4:18
Guffa17-Jan-06 4:18 
GeneralRe: Need to connect to sqlserver... Pin
y_mmohd17-Jan-06 19:40
y_mmohd17-Jan-06 19:40 
Questiondetect USB cable connected to USB port??? Pin
Sushmadm17-Jan-06 0:37
Sushmadm17-Jan-06 0:37 
AnswerRe: detect USB cable connected to USB port??? Pin
Dave Kreskowiak17-Jan-06 5:17
mveDave Kreskowiak17-Jan-06 5:17 
GeneralRe: detect USB cable connected to USB port??? Pin
Sushmadm17-Jan-06 18:22
Sushmadm17-Jan-06 18:22 
GeneralRe: detect USB cable connected to USB port??? Pin
Dave Kreskowiak18-Jan-06 2:28
mveDave Kreskowiak18-Jan-06 2:28 
Questionsqlcommand object Pin
skippydog17-Jan-06 0:32
skippydog17-Jan-06 0:32 
After looking at msdn and various websites this should work

the sqlcommand object has all the connection info and opens without error
but it fails when trying to execute the reader

With SqlCommand1

.Connection.Open()
'.Parameters.Item(0).Value = TextBox1.Text
.CommandText = "SELECT MATTER_UNO FROM(HBM_MATTER)WHERE (CLNT_MATT_CODE = '" + TextBox1.Text + "')"
.CommandType = CommandType.Text
Dim reader As SqlClient.SqlDataReader = SqlCommand1.ExecuteReader()
'Console.Write(.CommandText)
While reader.Read
Global.Matter_uno = reader(0)
End While
.Connection.Close()
End With

could do with some help
AnswerRe: sqlcommand object Pin
Colin Angus Mackay17-Jan-06 2:14
Colin Angus Mackay17-Jan-06 2:14 
GeneralRe: sqlcommand object Pin
skippydog17-Jan-06 4:19
skippydog17-Jan-06 4:19 
GeneralRe: sqlcommand object Pin
Colin Angus Mackay17-Jan-06 4:57
Colin Angus Mackay17-Jan-06 4:57 
QuestionHow to take snapshot/picture of paused frame of video played through DirectX.AudioVideoPlayback? Pin
Iftikhar Ali16-Jan-06 23:11
Iftikhar Ali16-Jan-06 23:11 
AnswerRe: How to take snapshot/picture of paused frame of video played through DirectX.AudioVideoPlayback? Pin
Christian Graus17-Jan-06 9:22
protectorChristian Graus17-Jan-06 9:22 
QuestionRe: How to take snapshot/picture of paused frame of video played through DirectX.AudioVideoPlayback? Pin
Iftikhar Ali17-Jan-06 20:50
Iftikhar Ali17-Jan-06 20:50 
AnswerRe: How to take snapshot/picture of paused frame of video played through DirectX.AudioVideoPlayback? Pin
Christian Graus18-Jan-06 8:55
protectorChristian Graus18-Jan-06 8:55 
GeneralRe: How to take snapshot/picture of paused frame of video played through DirectX.AudioVideoPlayback? Pin
Iftikhar Ali19-Jan-06 2:49
Iftikhar Ali19-Jan-06 2:49 
GeneralRe: How to take snapshot/picture of paused frame of video played through DirectX.AudioVideoPlayback? Pin
Christian Graus19-Jan-06 8:54
protectorChristian Graus19-Jan-06 8:54 
GeneralRe: How to take snapshot/picture of paused frame of video played through DirectX.AudioVideoPlayback? Pin
Iftikhar Ali19-Jan-06 19:25
Iftikhar Ali19-Jan-06 19:25 
GeneralRe: How to take snapshot/picture of paused frame of video played through DirectX.AudioVideoPlayback? Pin
Christian Graus22-Jan-06 11:03
protectorChristian Graus22-Jan-06 11:03 
GeneralRe: How to take snapshot/picture of paused frame of video played through DirectX.AudioVideoPlayback? Pin
Iftikhar Ali23-Jan-06 22:41
Iftikhar Ali23-Jan-06 22:41 
QuestionHOW CAN I PREVENT STRING VALUE IN TEXTBOX Pin
vivek_pon16-Jan-06 23:06
vivek_pon16-Jan-06 23:06 
AnswerRe: HOW CAN I PREVENT STRING VALUE IN TEXTBOX Pin
Briga16-Jan-06 23:35
Briga16-Jan-06 23:35 
AnswerRe: HOW CAN I PREVENT STRING VALUE IN TEXTBOX Pin
Owner drawn17-Jan-06 0:49
Owner drawn17-Jan-06 0:49 
AnswerRe: HOW CAN I PREVENT STRING VALUE IN TEXTBOX Pin
abhinish17-Jan-06 1:07
abhinish17-Jan-06 1:07 
AnswerRe: HOW CAN I PREVENT STRING VALUE IN TEXTBOX Pin
vinji17-Jan-06 7:03
vinji17-Jan-06 7:03 

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.