Re: Closing MDI Child Form Won't Reopen? Help!

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Siv (gs_at_remove_me.sivill.com)
Date: 09/06/04


Date: Mon, 06 Sep 2004 07:17:32 -0700

Cor,
I did use your sample above and I now check that the form I wish to open
isn't already open but not topmost in the window order. If it isn't found
I just open a new instance and show it.

Thanks for that!

I am still interested to know why the GC process (or VB itself) doesn't get
rid of a form that I have explicitly closed and disposed. As a programmer
I need to know that the system is doing what I tell it. This sort of "I'll
get rid of it when I feel like it" sort of attitude makes me nervous,
particularly when nowadays we should be worried about hackers being able to
scan memory for information!!

I would be interested to know why MS couldn't give us a Dispose() that does
Dispose immediately!?

-- 
Siv
GS Computing
Martley, Worcester. UK.
"Cor Ligthert" <notfirstname@planet.nl> wrote in
news:O11GcT9kEHA.3968@TK2MSFTNGP11.phx.gbl: 
> Siv,
> 
> Did you try my sample above, it is so easy and fits your problem.
> 
> However again in general, the GC is after the executing of your code
> and has nothing to do with it, it removes no references, it only
> cleans up the managed heap for object that are absolute not used
> anymore. 
> 
> 


Relevant Pages

  • Re: Cryptographie =?ISO-8859-1?Q?asym=E9trique?=
    ... but will Agha rise that? ... Will you rid till the ... sunshine, if Abdel freely learns the limb? ... She'd rather dispose e.g. than ...
    (sci.crypt)
  • Re: where is DBI::DWIM?
    ... Get rid of the data (ie. save and dispose, ... This one sets a column's value for a specific row in the database. ... You could - of course - subclass the DBI module and get what you want. ...
    (comp.lang.perl.misc)
  • Re: Useless Garbage Collection in C#?
    ... Dispose of every such member in the host class's Dispose. ... it's not good to say GC usually makes this sort thing unnecessary. ... not have deterministic destruction, and the corresponding deterministic ... cleanup of resources the way that C++ does. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: [OT] Protest the Novell-Microsoft Agreement - Sign Bruce Perens petition
    ... On Saturday 25 November 2006 00:45, Tim wrote: ... For that sort of thing you can temporarily sign up for a disposable ... then dispose of it after lodging your protests. ... Copyright 2006 by Maurice Eugene Heskett, ...
    (Fedora)
  • Re: OT - where to buy string?
    ... One of the removal estimators I spoke to before my move 12 months ago said ... he always advises people not to get rid of stuff before a move. ... Definitely no room/ need for it - dispose. ...
    (uk.media.radio.archers)