Click here to Skip to main content
15,915,600 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: delimiters using VB.net Pin
ccandler4-Dec-03 8:19
ccandler4-Dec-03 8:19 
GeneralRe: delimiters using VB.net Pin
Ian Darling4-Dec-03 12:35
Ian Darling4-Dec-03 12:35 
GeneralPing program on VB Pin
Nata_R4-Dec-03 1:41
Nata_R4-Dec-03 1:41 
GeneralRe: Ping program on VB Pin
Dave Kreskowiak4-Dec-03 5:13
mveDave Kreskowiak4-Dec-03 5:13 
GeneralRe: Ping program on VB Pin
mirzamujib27-Oct-09 3:05
mirzamujib27-Oct-09 3:05 
Questionhow to do this ? Pin
Ali-imran4-Dec-03 1:27
Ali-imran4-Dec-03 1:27 
QuestionNeccessary to call DISPOSE? Pin
cnurse3-Dec-03 21:34
cnurse3-Dec-03 21:34 
AnswerRe: Neccessary to call DISPOSE? Pin
Colin Angus Mackay4-Dec-03 3:12
Colin Angus Mackay4-Dec-03 3:12 
The general rule is yes, of course.

Objects that expose the IDisposable interface do so because they contain resources that a limited in some way. The destructor/finaliser of these objects will call Dispose anyway, but is it better to call Dispose when you know you don't need the object any more. Why? Because you don't know when the garbage collector will clean up after you, which could mean that you run out of the resource and are then left wondering why your program failed.

So... If its got an IDisposable interface then use it.

--Colin Mackay--

"In the confrontation between the stream and the rock, the stream always wins - not through strength but perseverance." (H. Jackson Brown)


GeneralExtending RichTextBox's LoadFile/SaveFile functions Pin
TPR253-Dec-03 18:45
TPR253-Dec-03 18:45 
GeneralSingleton in Visual Basic 6.0 Pin
Cliff Wellman3-Dec-03 9:56
Cliff Wellman3-Dec-03 9:56 
GeneralRe: Singleton in Visual Basic 6.0 Pin
Cliff Wellman4-Dec-03 4:50
Cliff Wellman4-Dec-03 4:50 
GeneralRe: Singleton in Visual Basic 6.0 Pin
Anthony_Yio11-Dec-03 23:49
Anthony_Yio11-Dec-03 23:49 
GeneralPrintable area on a page Pin
rochester_tw3-Dec-03 8:06
rochester_tw3-Dec-03 8:06 
GeneralRe: Printable area on a page Pin
Dave Kreskowiak3-Dec-03 13:17
mveDave Kreskowiak3-Dec-03 13:17 
GeneralHelp on Com Exception Pin
gregcost3-Dec-03 5:33
gregcost3-Dec-03 5:33 
General64-bit value in microseconds to a time Pin
ccandler3-Dec-03 4:34
ccandler3-Dec-03 4:34 
GeneralRe: 64-bit value in microseconds to a time Pin
Dave Kreskowiak3-Dec-03 6:54
mveDave Kreskowiak3-Dec-03 6:54 
GeneralMultiple columns in a data report Pin
Member 6680613-Dec-03 4:13
Member 6680613-Dec-03 4:13 
GeneralRe: Multiple columns in a data report Pin
Dave Kreskowiak3-Dec-03 6:34
mveDave Kreskowiak3-Dec-03 6:34 
GeneralRe: Multiple columns in a data report Pin
Anonymous3-Dec-03 6:54
Anonymous3-Dec-03 6:54 
GeneralRe: Multiple columns in a data report Pin
Dave Kreskowiak3-Dec-03 7:10
mveDave Kreskowiak3-Dec-03 7:10 
Questionwhat is difference between com component and .net component ? Pin
Tridip Bhattacharjee3-Dec-03 1:51
professionalTridip Bhattacharjee3-Dec-03 1:51 
Questionhow to traverse in nodes of treeview ? Pin
Tridip Bhattacharjee3-Dec-03 1:48
professionalTridip Bhattacharjee3-Dec-03 1:48 
QuestionHow to insert picture in the cell of the datagrid ? Pin
Tridip Bhattacharjee3-Dec-03 1:46
professionalTridip Bhattacharjee3-Dec-03 1:46 
AnswerRe: How to insert picture in the cell of the datagrid ? Pin
dabuskol8-Dec-03 23:35
dabuskol8-Dec-03 23:35 

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.