Click here to Skip to main content
16,006,475 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Please help - Parallel Arrays VB.NET Pin
Merinda Bratton17-Mar-10 11:25
Merinda Bratton17-Mar-10 11:25 
GeneralRe: Please help - Parallel Arrays VB.NET - Figured it out Pin
Merinda Bratton17-Mar-10 11:56
Merinda Bratton17-Mar-10 11:56 
AnswerRe: Please help - Parallel Arrays VB.NET Pin
Christian Graus20-Apr-07 20:18
protectorChristian Graus20-Apr-07 20:18 
QuestionDisplaying tables in vb.net using sqlDMO Pin
gavthegenius20-Apr-07 5:30
gavthegenius20-Apr-07 5:30 
QuestionQuestion regarding the keyword "Using" Pin
Marcus J. Smith20-Apr-07 5:03
professionalMarcus J. Smith20-Apr-07 5:03 
AnswerRe: Question regarding the keyword "Using" Pin
Dave Kreskowiak20-Apr-07 6:10
mveDave Kreskowiak20-Apr-07 6:10 
GeneralRe: Question regarding the keyword "Using" [modified] Pin
Marcus J. Smith20-Apr-07 6:11
professionalMarcus J. Smith20-Apr-07 6:11 
GeneralRe: Question regarding the keyword "Using" Pin
Dave Kreskowiak20-Apr-07 6:32
mveDave Kreskowiak20-Apr-07 6:32 
Yep. The object that's specified on the Using line will automatically be Disposed when execution ever, for ANY reason, leaves the Using block. If you still need it beyond that, maybe you shouldn't be using Using, or you'll have to expand the scope of the Using block to encompass the code you need.

Using was put in so you didn't have to make absolutely sure you disposed an object in the event you forgot to or an error occured in your code, forcing it to take an execution path you didn't anticipate.


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


QuestionMax(rows) of msflexgrid Pin
Navneet Hegde20-Apr-07 1:45
Navneet Hegde20-Apr-07 1:45 
AnswerRe: Max(rows) of msflexgrid Pin
Tim Carmichael20-Apr-07 3:25
Tim Carmichael20-Apr-07 3:25 
AnswerRe: Max(rows) of msflexgrid Pin
Dave Kreskowiak20-Apr-07 4:30
mveDave Kreskowiak20-Apr-07 4:30 
QuestionGetting DOS output Pin
johnjsm20-Apr-07 1:43
johnjsm20-Apr-07 1:43 
AnswerRe: Getting DOS output Pin
kubben20-Apr-07 2:25
kubben20-Apr-07 2:25 
AnswerRe: Getting DOS output Pin
sthotakura20-Apr-07 7:58
sthotakura20-Apr-07 7:58 
GeneralRe: Getting DOS output Pin
johnjsm20-Apr-07 11:10
johnjsm20-Apr-07 11:10 
QuestionHow do you add code snippets Pin
directred20-Apr-07 1:25
directred20-Apr-07 1:25 
AnswerRe: How do you add code snippets Pin
Dave Kreskowiak20-Apr-07 4:28
mveDave Kreskowiak20-Apr-07 4:28 
QuestionUPLOADING IMAGE USING OPEN FILE DIALOG Pin
klaydze19-Apr-07 22:10
klaydze19-Apr-07 22:10 
AnswerRe: UPLOADING IMAGE USING OPEN FILE DIALOG Pin
Christian Graus19-Apr-07 23:52
protectorChristian Graus19-Apr-07 23:52 
GeneralRe: UPLOADING IMAGE USING OPEN FILE DIALOG Pin
klaydze20-Apr-07 15:46
klaydze20-Apr-07 15:46 
QuestionDirectory share and fileshare problem [modified] Pin
battulga19-Apr-07 21:56
battulga19-Apr-07 21:56 
AnswerRe: Directory share and fileshare problem Pin
Dave Kreskowiak20-Apr-07 3:43
mveDave Kreskowiak20-Apr-07 3:43 
GeneralRe: Directory share and fileshare problem Pin
battulga20-Apr-07 21:05
battulga20-Apr-07 21:05 
GeneralRe: Directory share and fileshare problem Pin
Craster23-Apr-07 5:06
Craster23-Apr-07 5:06 
QuestionResize Image Pin
nitin_ion19-Apr-07 19:53
nitin_ion19-Apr-07 19:53 

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.