Click here to Skip to main content
16,007,687 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Colorize text between two words Pin
PeterBiddlecombe29-Nov-07 22:09
PeterBiddlecombe29-Nov-07 22:09 
GeneralRe: Colorize text between two words Pin
The Mighty Atom30-Nov-07 2:08
The Mighty Atom30-Nov-07 2:08 
GeneralRe: Colorize text between two words Pin
PeterBiddlecombe30-Nov-07 4:55
PeterBiddlecombe30-Nov-07 4:55 
GeneralRe: Colorize text between two words Pin
The Mighty Atom30-Nov-07 5:33
The Mighty Atom30-Nov-07 5:33 
QuestionWorks but any known memory leak? Pin
nlarson1128-Nov-07 9:21
nlarson1128-Nov-07 9:21 
AnswerRe: Works but any known memory leak? Pin
Luc Pattyn28-Nov-07 9:28
sitebuilderLuc Pattyn28-Nov-07 9:28 
GeneralRe: Works but any known memory leak? Pin
nlarson1128-Nov-07 9:30
nlarson1128-Nov-07 9:30 
GeneralRe: Works but any known memory leak? Pin
Luc Pattyn28-Nov-07 9:55
sitebuilderLuc Pattyn28-Nov-07 9:55 
No,

(I am assuming the .Method you called is not Close)
once the with block ends, the way you wrote it the object can no longer be accessed
since you don't hold a reference to it, but that does not mean the object also gets
removed from memory at that time; the garbage collector will take care of that at its
leasure, it is allowed to do so immediately but will not do so unless it needs free
memory due to some other request(s). In the mean time any resources (managed or unmanaged)
remain allocated.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


this months tips:
- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use PRE tags to preserve formatting when showing multi-line code snippets


AnswerRe: Works but any known memory leak? Pin
Christian Graus28-Nov-07 9:30
protectorChristian Graus28-Nov-07 9:30 
GeneralRe: Works but any known memory leak? Pin
nlarson1128-Nov-07 9:35
nlarson1128-Nov-07 9:35 
GeneralRe: Works but any known memory leak? Pin
Luc Pattyn28-Nov-07 9:43
sitebuilderLuc Pattyn28-Nov-07 9:43 
AnswerRe: Works but any known memory leak? Pin
sgorozco28-Nov-07 10:30
sgorozco28-Nov-07 10:30 
GeneralRe: Works but any known memory leak? Pin
nlarson1128-Nov-07 10:41
nlarson1128-Nov-07 10:41 
QuestionCommandbutton blink in VB 2005 Pin
DCAUB28-Nov-07 8:56
DCAUB28-Nov-07 8:56 
AnswerRe: Commandbutton blink in VB 2005 Pin
nlarson1128-Nov-07 9:05
nlarson1128-Nov-07 9:05 
AnswerRe: Commandbutton blink in VB 2005 Pin
Paul Conrad28-Nov-07 12:34
professionalPaul Conrad28-Nov-07 12:34 
QuestionChart in Visual Basic 6 Pin
leaveu28-Nov-07 8:34
leaveu28-Nov-07 8:34 
AnswerRe: Chart in Visual Basic 6 Pin
Paul Conrad28-Nov-07 12:34
professionalPaul Conrad28-Nov-07 12:34 
QuestionFloor Maps Pin
alexfromto28-Nov-07 8:33
alexfromto28-Nov-07 8:33 
AnswerCross post Pin
pmarfleet28-Nov-07 8:46
pmarfleet28-Nov-07 8:46 
AnswerRe: Floor Maps Pin
pmarfleet28-Nov-07 9:54
pmarfleet28-Nov-07 9:54 
GeneralRe: Floor Maps Pin
alexfromto28-Nov-07 10:01
alexfromto28-Nov-07 10:01 
QuestionMUTEX - TCP Channel - Disconnecting For Unknown Reason [modified] Pin
nlarson1128-Nov-07 8:12
nlarson1128-Nov-07 8:12 
QuestionSaving data before using X to exit form Pin
Wolfpacker28-Nov-07 7:43
Wolfpacker28-Nov-07 7:43 
AnswerRe: Saving data before using X to exit form Pin
Luc Pattyn28-Nov-07 8:01
sitebuilderLuc Pattyn28-Nov-07 8:01 

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.