Re: Problem with Query Unload
From: JohnK (johnkeystone_at_noreply.net)
Date: 06/16/04
- Next message: JohnK: "Re: Problem with Query Unload"
- Previous message: Howard Kaikow: "Re: What gets changed when a DLL is registered, in particular how much space is used?"
- In reply to: MikeD: "Re: Problem with Query Unload"
- Next in thread: MikeD: "Re: Problem with Query Unload"
- Reply: MikeD: "Re: Problem with Query Unload"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 16 Jun 2004 16:23:56 +0200
There is only one thing that could cause the problem. The form contains a
analog clock. This is something I found on the net (AnaclockCtl.ocx or
'Soumya's Analog Clock Control'). How can I unload the ActiveX control?
According the MSDN lib it could take a while (about 2 minuters) to terminate
an Activex control?
Can you show me how?
John
"MikeD" <nobody@nowhere.edu> schreef in bericht
news:efjsjk6UEHA.3656@TK2MSFTNGP11.phx.gbl...
>
> "JohnK" <johnkeystone@noreply.net> wrote in message
> news:40d04e0f$0$769$3a628fcd@reader10.nntp.hccnet.nl...
> > Thanks four your suggestion, Doug, but when I leave the End stmt out and
> put
> > the cleanup code in the Unlaod procedure (I agree that's the right place
> to
> > put it) and I press the controlbox OR the Close-button the app is now in
> > both cases still active.
> > Any other ideas?
>
>
> Then there's something you're not cleaning up properly. End is just
> covering up the problem. It's not solving it.
>
> Just curious, are you referencing any controls or properties/methods of
> controls or forms in your cleanup code? If so, that might be causing the a
> form to reload. Also, are you using a Timer control? You should disable
> Timer controls as part of your cleanup code because the Timer event
*could*
> fire again causing the form to reload.
>
> You might want to post your cleanup code. Perhaps somebody can spot
> something.
>
> Mike
>
>
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.706 / Virus Database: 462 - Release Date: 14-6-2004
- Next message: JohnK: "Re: Problem with Query Unload"
- Previous message: Howard Kaikow: "Re: What gets changed when a DLL is registered, in particular how much space is used?"
- In reply to: MikeD: "Re: Problem with Query Unload"
- Next in thread: MikeD: "Re: Problem with Query Unload"
- Reply: MikeD: "Re: Problem with Query Unload"
- Messages sorted by: [ date ] [ thread ]