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

Visual Basic

 
GeneralRe: delimiters using VB.net Pin
Ian Darling4-Dec-03 4:57
Ian Darling4-Dec-03 4:57 
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 
I declare a brush... Dim lBrush as SolidBrush

Then I use it lots of times in a function for different things like gradient fills. So I might do...

lBrush = new GradientBrush...

Then again...
lBrush = new GradientBrush...

You get the idea. Should I call lBrush.Dispose before I say lBrush=New brush....

If I don't, do I get a memory leak?

Sounds like a waste of time, unless you have an object that is going to be in scope for a long time using transient resources that should be released quickly.

Thanks 4 ur help guys.

Nursey
AnswerRe: Neccessary to call DISPOSE? Pin
Colin Angus Mackay4-Dec-03 3:12
Colin Angus Mackay4-Dec-03 3:12 
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 

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.