nope that wasnt it.. i need the app to stay loaded but hidden .So when the
user clicked the "X" on the control box to end the app i had put in
cancel=true in the queryunload event and added me.hide in there.
So the app wasnt responding to the windows shutdown..
i changed that to check the unload value and only set cancel = true if it
was 0
Thanks anyway...
Satya
----- Original Message -----
From: <cdebiasio@t...>
To: "professional vb" <pro_vb@p...>
Sent: Tuesday, March 11, 2003 4:25 PM
Subject: [pro_vb] Re: Terminating an app
> Hi!
>
> I guess, an End at the end of the processing could solve the problem!
>
> HTH,
>
> Claudio de Biasio
> Team 97 S.r.l.
>
>
> Quoting Satyajeet Hattangadi <satyajh@m...>:
>
> > Hi,
> >
> > I have an app that i load on startup by making an entry in the
> > "HKEY\CURRENT_USER\SOFTWARE\MICROSOFT\WINDOWS\CURRENT_VERSION\RUN" key
> > .
> >
> > The app startsup properly on start up , performs an operation that
> > takes
> > about 10 seconds.
> >
> > The main form is not visible but loaded.
> >
> > I have set up a hotkey that the user can press to make the main form
> > visible.
> >
> > NOW THE PROBLEM.. when ever the user tries to shut down windows the app
> > does
> > not terminate and does not allow windows to shut down, unless the app
> > is
> > closed using the task manager.
> > After the operation the app does in the first 10 seconds, the app is
> > basically idle.
> >
> > Now the question... why doesnt windows shut down.
> > Whats causing the app to stay running? and what do i do to make it so
> > that
> > the app will close on windows shutdown
> >
> > Thanks in advance
> > Satya
> >
> > *********************************************************
> > Disclaimer
> >
> > This message (including any attachments) contains
> > confidential information intended for a specific
> > individual and purpose, and is protected by law.
> > If you are not the intended recipient, you should
> > delete this message and are hereby notified that
> > any disclosure, copying, or distribution of this
> > message, or the taking of any action based on it,
> > is strictly prohibited.
> >
> > *********************************************************
> > Visit us at http://www.mahindrabt.com
> >
> >
> >
> >
> >
>
>
*********************************************************
Disclaimer
This message (including any attachments) contains
confidential information intended for a specific
individual and purpose, and is protected by law.
If you are not the intended recipient, you should
delete this message and are hereby notified that
any disclosure, copying, or distribution of this
message, or the taking of any action based on it,
is strictly prohibited.
*********************************************************
Visit us at http://www.mahindrabt.com