Click here to Skip to main content
15,929,429 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionImplementing Implements System.IDisposable Pin
Marcus J. Smith8-Jan-07 7:24
professionalMarcus J. Smith8-Jan-07 7:24 
AnswerRe: Implementing Implements System.IDisposable Pin
nlarson118-Jan-07 7:34
nlarson118-Jan-07 7:34 
GeneralRe: Implementing Implements System.IDisposable Pin
Marcus J. Smith8-Jan-07 8:49
professionalMarcus J. Smith8-Jan-07 8:49 
GeneralRe: Implementing Implements System.IDisposable Pin
Dave Kreskowiak8-Jan-07 9:15
mveDave Kreskowiak8-Jan-07 9:15 
GeneralRe: Implementing Implements System.IDisposable Pin
Christian Graus8-Jan-07 9:17
protectorChristian Graus8-Jan-07 9:17 
GeneralRe: Implementing Implements System.IDisposable Pin
Marcus J. Smith8-Jan-07 9:39
professionalMarcus J. Smith8-Jan-07 9:39 
GeneralRe: Implementing Implements System.IDisposable Pin
Dave Kreskowiak8-Jan-07 9:58
mveDave Kreskowiak8-Jan-07 9:58 
GeneralRe: Implementing Implements System.IDisposable Pin
nlarson118-Jan-07 9:35
nlarson118-Jan-07 9:35 
rules to live by:

1) if an object has a dispose method, you should ALWAYS call it or bad things like memory leaks can occur

2) "try" to never rely on vb to clean up your objects for you.

3) add a dispose method to your classes and call it to safely release(close,dispose,nothing) all of your objects.

4) in routines, try to utilize they key word "using" which is supposed to guarantee (according to the help file) proper release of memory that your object was taking up.



GeneralRe: Implementing Implements System.IDisposable Pin
Marcus J. Smith8-Jan-07 9:42
professionalMarcus J. Smith8-Jan-07 9:42 
GeneralRe: Implementing Implements System.IDisposable Pin
Dave Kreskowiak8-Jan-07 10:00
mveDave Kreskowiak8-Jan-07 10:00 
GeneralRe: Implementing Implements System.IDisposable Pin
Marcus J. Smith8-Jan-07 12:29
professionalMarcus J. Smith8-Jan-07 12:29 
GeneralRe: Implementing Implements System.IDisposable Pin
Colin Angus Mackay8-Jan-07 13:09
Colin Angus Mackay8-Jan-07 13:09 
QuestionMinimize a Child Form in a Parent MDI Pin
Jason Holland8-Jan-07 7:19
Jason Holland8-Jan-07 7:19 
AnswerRe: Minimize a Child Form in a Parent MDI Pin
nlarson118-Jan-07 7:31
nlarson118-Jan-07 7:31 
GeneralRe: Minimize a Child Form in a Parent MDI Pin
Jason Holland8-Jan-07 7:41
Jason Holland8-Jan-07 7:41 
GeneralRe: Minimize a Child Form in a Parent MDI Pin
nlarson118-Jan-07 7:45
nlarson118-Jan-07 7:45 
QuestionForm font and colour change? [modified] Pin
harvey1078-Jan-07 6:33
harvey1078-Jan-07 6:33 
AnswerRe: Form font and colour change? Pin
nlarson118-Jan-07 7:02
nlarson118-Jan-07 7:02 
GeneralRe: Form font and colour change? Pin
harvey1078-Jan-07 7:15
harvey1078-Jan-07 7:15 
GeneralRe: Form font and colour change? Pin
nlarson118-Jan-07 7:20
nlarson118-Jan-07 7:20 
GeneralRe: Form font and colour change? Pin
harvey1078-Jan-07 7:28
harvey1078-Jan-07 7:28 
Questionhelp..how to read USB Flash drive serial number Pin
gladsmhe8-Jan-07 5:34
gladsmhe8-Jan-07 5:34 
AnswerRe: help..how to read USB Flash drive serial number Pin
nlarson118-Jan-07 7:42
nlarson118-Jan-07 7:42 
QuestionGraphic,DrawString cannot write a string Pin
Savas Cilve8-Jan-07 2:53
Savas Cilve8-Jan-07 2:53 
AnswerRe: Graphic,DrawString cannot write a string Pin
Dave Kreskowiak8-Jan-07 9:21
mveDave Kreskowiak8-Jan-07 9:21 

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.