Click here to Skip to main content
15,896,522 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Anyone EXPERT on coding picturebox ? Pin
Dave Kreskowiak19-Feb-06 7:15
mveDave Kreskowiak19-Feb-06 7:15 
GeneralRe: Anyone EXPERT on coding picturebox ? Pin
campbells19-Feb-06 16:39
campbells19-Feb-06 16:39 
QuestionPasssing a reference parameter of structure type to a fucntion in dll Pin
pravinkgarg17-Feb-06 16:56
pravinkgarg17-Feb-06 16:56 
AnswerRe: Passsing a reference parameter of structure type to a fucntion in dll Pin
alien viper17-Feb-06 19:22
alien viper17-Feb-06 19:22 
GeneralRe: Passsing a reference parameter of structure type to a fucntion in dll Pin
pravinkgarg18-Feb-06 2:35
pravinkgarg18-Feb-06 2:35 
AnswerRe: Passsing a reference parameter of structure type to a fucntion in dll Pin
[Marc]18-Feb-06 4:57
[Marc]18-Feb-06 4:57 
Questionexecutereader inquiry Pin
maytel17-Feb-06 15:34
maytel17-Feb-06 15:34 
AnswerRe: executereader inquiry Pin
Dave Kreskowiak17-Feb-06 16:21
mveDave Kreskowiak17-Feb-06 16:21 
"This doesn't work" isn't a good explanation of the problem. What's it doing/not doing?? What are you expecting the code to do?

Also, there not enough of the code to "get it to work" or diagnose the problem. What is lRecNum defined as? What are you trying to do with the data?

About the only thing we could do is rewrite it and guess what you're trying to get it to do.
Dim oleDbConn As New OleDbConnection(connectionString
Dim oleDbComm As New OleDbCommand("SELECT RecNum FROM Serial_Table", oleConn)
Dim oleDbReader As OleDbDataReader
 
oleDbReader = oleDbComm.ExecuteReader()
While oleDbReader.Read() = True
    ' What are you doing with this data??????
    ...something...oleDbReader.GetInt32(0)
End While
oleDbReader.Close()
oleDbConn.Close()



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome


-- modified at 22:22 Friday 17th February, 2006
GeneralRe: executereader inquiry Pin
maytel17-Feb-06 21:02
maytel17-Feb-06 21:02 
GeneralRe: executereader inquiry Pin
Dave Kreskowiak18-Feb-06 3:41
mveDave Kreskowiak18-Feb-06 3:41 
GeneralRe: executereader inquiry Pin
maytel19-Feb-06 14:34
maytel19-Feb-06 14:34 
GeneralRe: executereader inquiry Pin
Dave Kreskowiak19-Feb-06 14:55
mveDave Kreskowiak19-Feb-06 14:55 
GeneralRe: executereader inquiry Pin
maytel19-Feb-06 20:51
maytel19-Feb-06 20:51 
GeneralRe: executereader inquiry Pin
Dave Kreskowiak20-Feb-06 4:25
mveDave Kreskowiak20-Feb-06 4:25 
GeneralRe: executereader inquiry Pin
maytel20-Feb-06 16:49
maytel20-Feb-06 16:49 
GeneralRe: executereader inquiry Pin
Dave Kreskowiak21-Feb-06 13:20
mveDave Kreskowiak21-Feb-06 13:20 
QuestionMissingFieldException Unhandled!! Pin
Devraj Raut17-Feb-06 8:39
Devraj Raut17-Feb-06 8:39 
AnswerRe: MissingFieldException Unhandled!! Pin
progload18-Feb-06 7:39
progload18-Feb-06 7:39 
Questionnew window service in .net Pin
natDD17-Feb-06 8:09
natDD17-Feb-06 8:09 
AnswerRe: new window service in .net Pin
Joshua Quick17-Feb-06 8:25
Joshua Quick17-Feb-06 8:25 
QuestionHow can I choose specific row on a listview? Pin
wliong17-Feb-06 8:00
wliong17-Feb-06 8:00 
AnswerRe: How can I choose specific row on a listview? Pin
Ray Cassick17-Feb-06 8:06
Ray Cassick17-Feb-06 8:06 
AnswerRe: How can I choose specific row on a listview? Pin
Mekong River18-Feb-06 15:26
Mekong River18-Feb-06 15:26 
QuestionExecuting stored procedure through VB.net Pin
vilasjain17-Feb-06 7:15
vilasjain17-Feb-06 7:15 
AnswerRe: Executing stored procedure through VB.net Pin
ToddHileHoffer17-Feb-06 7:25
ToddHileHoffer17-Feb-06 7:25 

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.