Click here to Skip to main content
15,914,225 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Add two field from database to combobox Pin
Dave Kreskowiak5-Feb-11 8:20
mveDave Kreskowiak5-Feb-11 8:20 
QuestionSub routine not working Pin
Doug Ancil4-Feb-11 5:32
Doug Ancil4-Feb-11 5:32 
AnswerRe: Sub routine not working Pin
riced4-Feb-11 6:08
riced4-Feb-11 6:08 
GeneralRe: Sub routine not working Pin
Doug Ancil4-Feb-11 7:51
Doug Ancil4-Feb-11 7:51 
GeneralRe: Sub routine not working Pin
ChandraRam4-Feb-11 9:53
ChandraRam4-Feb-11 9:53 
GeneralRe: Sub routine not working Pin
Doug Ancil4-Feb-11 10:57
Doug Ancil4-Feb-11 10:57 
GeneralRe: Sub routine not working Pin
riced4-Feb-11 11:40
riced4-Feb-11 11:40 
GeneralRe: Sub routine not working Pin
riced4-Feb-11 11:48
riced4-Feb-11 11:48 
PS Meant to say you could wrap the connection stuff in a try...finally...end try block with the close in the finally part. Note no catch - if an exception occurs it will be thrown but the close will still be done.
VB also has the using...end using construct to do this automatically so you don't need the close.
Regards
David R
---------------------------------------------------------------
"Every program eventually becomes rococo, and then rubble." - Alan Perlis
The only valid measurement of code quality: WTFs/minute.

GeneralRe: Sub routine not working Pin
Doug Ancil7-Feb-11 4:22
Doug Ancil7-Feb-11 4:22 
AnswerRe: Sub routine not working Pin
Luc Pattyn7-Feb-11 4:34
sitebuilderLuc Pattyn7-Feb-11 4:34 
GeneralRe: Sub routine not working Pin
Doug Ancil7-Feb-11 4:45
Doug Ancil7-Feb-11 4:45 
GeneralRe: Sub routine not working Pin
Luc Pattyn7-Feb-11 5:07
sitebuilderLuc Pattyn7-Feb-11 5:07 
GeneralRe: Sub routine not working Pin
Doug Ancil7-Feb-11 5:22
Doug Ancil7-Feb-11 5:22 
GeneralRe: Sub routine not working Pin
riced7-Feb-11 9:43
riced7-Feb-11 9:43 
Questionocx control tabctl32 on a windows 7 Pin
omlac3-Feb-11 20:50
omlac3-Feb-11 20:50 
AnswerRe: ocx control tabctl32 on a windows 7 Pin
Dave Kreskowiak4-Feb-11 8:09
mveDave Kreskowiak4-Feb-11 8:09 
QuestionDon't allow notifyIcon to be hidden Pin
LCARS x323-Feb-11 6:55
LCARS x323-Feb-11 6:55 
AnswerRe: Don't allow notifyIcon to be hidden Pin
Luc Pattyn3-Feb-11 7:03
sitebuilderLuc Pattyn3-Feb-11 7:03 
GeneralRe: Don't allow notifyIcon to be hidden Pin
LCARS x323-Feb-11 7:26
LCARS x323-Feb-11 7:26 
AnswerRe: Don't allow notifyIcon to be hidden Pin
Luc Pattyn3-Feb-11 8:46
sitebuilderLuc Pattyn3-Feb-11 8:46 
GeneralRe: Don't allow notifyIcon to be hidden Pin
Steve Maier3-Feb-11 9:32
professionalSteve Maier3-Feb-11 9:32 
GeneralRe: Don't allow notifyIcon to be hidden Pin
LCARS x323-Feb-11 9:39
LCARS x323-Feb-11 9:39 
GeneralRe: Don't allow notifyIcon to be hidden Pin
dandy724-Feb-11 4:25
dandy724-Feb-11 4:25 
GeneralRe: Don't allow notifyIcon to be hidden Pin
Richard MacCutchan4-Feb-11 4:53
mveRichard MacCutchan4-Feb-11 4:53 
GeneralRe: Don't allow notifyIcon to be hidden Pin
Eddy Vluggen4-Feb-11 11:27
professionalEddy Vluggen4-Feb-11 11:27 

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.