Click here to Skip to main content
16,005,121 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerOpen text file as exclusive Pin
David Mujica21-Nov-08 3:22
David Mujica21-Nov-08 3:22 
AnswerRe: loading files to server Pin
Mycroft Holmes21-Nov-08 14:01
professionalMycroft Holmes21-Nov-08 14:01 
GeneralRe: loading files to server Pin
jishbalan22-Nov-08 3:27
jishbalan22-Nov-08 3:27 
GeneralRe: loading files to server Pin
Mycroft Holmes22-Nov-08 14:51
professionalMycroft Holmes22-Nov-08 14:51 
GeneralRe: loading files to server Pin
jishbalan22-Nov-08 16:07
jishbalan22-Nov-08 16:07 
GeneralRe: loading files to server Pin
Mycroft Holmes22-Nov-08 16:30
professionalMycroft Holmes22-Nov-08 16:30 
QuestionVB6 listbox Pin
tatchung20-Nov-08 20:51
tatchung20-Nov-08 20:51 
AnswerRe: VB6 listbox Pin
Dave Kreskowiak21-Nov-08 4:50
mveDave Kreskowiak21-Nov-08 4:50 
Your code isn't deleting specific records in the database. You're going through the listbox, but not matching those items to records in the recordset. You're not even looking at the first record in the recordset.

Judging by your verbage, you're not binding the listbox (if that's even possible in VB6) to the recordset. This means that you have to look at each item in the listbox, find the corresponding record in the recordset, then delete that record, and continue with the search.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: VB6 listbox Pin
tatchung21-Nov-08 21:52
tatchung21-Nov-08 21:52 
AnswerRe: VB6 listbox Pin
Nanda_MR21-Nov-08 17:35
Nanda_MR21-Nov-08 17:35 
QuestionLoad a word Dictionary Pin
scothykonma20-Nov-08 19:22
scothykonma20-Nov-08 19:22 
AnswerRe: Load a word Dictionary Pin
Christian Graus20-Nov-08 21:38
protectorChristian Graus20-Nov-08 21:38 
QuestionSee password characters Pin
Gagan.2020-Nov-08 16:29
Gagan.2020-Nov-08 16:29 
AnswerRe: See password characters Pin
~Khatri Mitesh~20-Nov-08 18:30
~Khatri Mitesh~20-Nov-08 18:30 
GeneralRe: See password characters Pin
Gagan.2020-Nov-08 22:33
Gagan.2020-Nov-08 22:33 
QuestionSynchronizing dataadapters and bindingsource Pin
larry11820-Nov-08 10:32
larry11820-Nov-08 10:32 
AnswerRe: Synchronizing dataadapters and bindingsource Pin
Dave Kreskowiak24-Nov-08 2:09
mveDave Kreskowiak24-Nov-08 2:09 
QuestionHelp In Converting code from Vb6 To Vb.net Pin
sarfarazaliqureshi20-Nov-08 9:21
sarfarazaliqureshi20-Nov-08 9:21 
AnswerRe: Help In Converting code from Vb6 To Vb.net Pin
Christian Graus20-Nov-08 9:44
protectorChristian Graus20-Nov-08 9:44 
AnswerRe: Help In Converting code from Vb6 To Vb.net Pin
Wendelius20-Nov-08 10:03
mentorWendelius20-Nov-08 10:03 
AnswerRe: Help In Converting code from Vb6 To Vb.net Pin
Dave Kreskowiak20-Nov-08 15:01
mveDave Kreskowiak20-Nov-08 15:01 
QuestionShutdown System Pin
Gagan.2020-Nov-08 4:09
Gagan.2020-Nov-08 4:09 
AnswerRe: Shutdown System Pin
Tom Deketelaere20-Nov-08 4:18
professionalTom Deketelaere20-Nov-08 4:18 
GeneralRe: Shutdown System Pin
Gagan.2020-Nov-08 22:37
Gagan.2020-Nov-08 22:37 
GeneralRe: Shutdown System Pin
Tom Deketelaere20-Nov-08 22:40
professionalTom Deketelaere20-Nov-08 22:40 

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.