Re: Application.Exit() vs End

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

From: Herfried K. Wagner [MVP] (hirf-spam-me-here_at_gmx.at)
Date: 10/11/04


Date: Mon, 11 Oct 2004 18:47:45 +0200


"Michael D. Ober" <mdo.@.wakeassoc..com> schrieb:
> In VB6, you can loop through the forms collection
> and close each form. I know that the forms collection
> doesn't exist in .Net so how is this done.

You will have to maintain such a collection yourself.

-- 
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>


Relevant Pages

  • Re: Loop Through Controls and Find Combobox?
    ... "Jason" schrieb: ... > looked on the web but everything I've found seems to say you can't loop ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: Responding to events BVB6/VBA
    ... Word VBA by calling code in a referenced VB6 ActiveX.exe ... The 3rd party product (HotDocs) automatically produces a document based ... in a loop testing for HotDocs to raise the event ...
    (microsoft.public.vb.general.discussion)
  • Re: VB 6 developers and .Net
    ... force you to be any more OO then did VB6. ... one of the biggest issues with VB 6 is that it isn't truely type safe. ... hard to find bugs relating to type casting; bugs that can only be caught in ... Mike Ober. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Responding to events BVB6/VBA
    ... As in is it a window exe with a user interface, ... While HotDocs raises an event "Document saved" to indicate the document is now available, my problem is holding my code at the point where I invoke the call to produce the document. ... This a 1 line call to a com object and VB6 immediately moves on to my next line of code and my exe will complete before the document is completed. ... To overcome this, immediately after invoking the call to HotDocs, I sit in a loop testing for HotDocs to raise the event indicating completion. ...
    (microsoft.public.vb.general.discussion)
  • Watch Dog Timer
    ... I am trying to implement a WatchDog Timer with VB6. ... things but fails. ... During the loop, if I cut the wire, the While-Wend will come to an endless ...
    (microsoft.public.vb.enterprise)