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

Visual Basic

 
GeneralRe: Multi threading and garbage collected problem using RegisterShellHook and SetWindowLong API. Pin
Luc Pattyn2-Jul-10 11:32
sitebuilderLuc Pattyn2-Jul-10 11:32 
Questionshare and unshare folder Pin
mehrnoosh30-Jun-10 18:27
mehrnoosh30-Jun-10 18:27 
AnswerRe: share and unshare folder Pin
Dave Kreskowiak30-Jun-10 18:37
mveDave Kreskowiak30-Jun-10 18:37 
GeneralRe: share and unshare folder Pin
mehrnoosh30-Jun-10 21:54
mehrnoosh30-Jun-10 21:54 
GeneralRe: share and unshare folder Pin
Alan N30-Jun-10 22:32
Alan N30-Jun-10 22:32 
GeneralRe: share and unshare folder Pin
Dave Kreskowiak1-Jul-10 2:16
mveDave Kreskowiak1-Jul-10 2:16 
QuestionHow can I detect child form close action in VB.NET 2005 Pin
Andraw Tang30-Jun-10 9:19
Andraw Tang30-Jun-10 9:19 
AnswerRe: How can I detect child form close action in VB.NET 2005 Pin
Dave Kreskowiak30-Jun-10 9:31
mveDave Kreskowiak30-Jun-10 9:31 
They're still there because you're still holding on to a reference to the child form in your global class-scoped variables.

Normally, you'd just handle the item click in the TreeView, create a child form instance, set it up as an MdiChild, Show it and be done. But, your code is holding onto a reference that Mdi doesn't manage, so...

Either don't hold on to the reference or you'll have to subscribe to the child form's Closing event and handle it in there.

A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




GeneralRe: How can I detect child form close action in VB.NET 2005 Pin
Andraw Tang30-Jun-10 9:40
Andraw Tang30-Jun-10 9:40 
GeneralRe: How can I detect child form close action in VB.NET 2005 Pin
Dave Kreskowiak30-Jun-10 12:39
mveDave Kreskowiak30-Jun-10 12:39 
GeneralRe: How can I detect child form close action in VB.NET 2005 Pin
Andraw Tang1-Jul-10 3:32
Andraw Tang1-Jul-10 3:32 
GeneralRe: How can I detect child form close action in VB.NET 2005 Pin
Dave Kreskowiak1-Jul-10 3:42
mveDave Kreskowiak1-Jul-10 3:42 
GeneralRe: How can I detect child form close action in VB.NET 2005 Pin
Andraw Tang1-Jul-10 3:59
Andraw Tang1-Jul-10 3:59 
GeneralRe: How can I detect child form close action in VB.NET 2005 Pin
Andraw Tang1-Jul-10 4:03
Andraw Tang1-Jul-10 4:03 
AnswerRe: How can I detect child form close action in VB.NET 2005 Pin
William Winner30-Jun-10 9:38
William Winner30-Jun-10 9:38 
GeneralRe: How can I detect child form close action in VB.NET 2005 Pin
Andraw Tang30-Jun-10 10:11
Andraw Tang30-Jun-10 10:11 
AnswerRe: How can I detect child form close action in VB.NET 2005 [modified] Pin
Аslam Iqbal13-Jul-10 5:55
professionalАslam Iqbal13-Jul-10 5:55 
QuestionCommunication via Serial Port on PPC Pin
Dominick Marciano29-Jun-10 15:13
professionalDominick Marciano29-Jun-10 15:13 
AnswerRe: Communication via Serial Port on PPC Pin
tiggerc1-Jul-10 5:04
tiggerc1-Jul-10 5:04 
GeneralRe: Communication via Serial Port on PPC Pin
Dominick Marciano1-Jul-10 13:11
professionalDominick Marciano1-Jul-10 13:11 
GeneralRe: Communication via Serial Port on PPC Pin
tiggerc2-Jul-10 3:57
tiggerc2-Jul-10 3:57 
QuestionHow can I trace an AddIn's startup error? Pin
Sonhospa29-Jun-10 13:01
Sonhospa29-Jun-10 13:01 
AnswerRe: How can I trace an AddIn's startup error? Pin
Luc Pattyn29-Jun-10 13:15
sitebuilderLuc Pattyn29-Jun-10 13:15 
NewsRe: How can I trace an AddIn's startup error? Pin
Sonhospa30-Jun-10 0:01
Sonhospa30-Jun-10 0:01 
GeneralRe: How can I trace an AddIn's startup error? Pin
Dave Kreskowiak30-Jun-10 1:35
mveDave Kreskowiak30-Jun-10 1: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.