Preventing a VB app from closing when user logs off in Win '95 
Author Message
 Preventing a VB app from closing when user logs off in Win '95

Is there a way that I can keep an application from closing when a user
clicks Start, Shutdown, Close All programs and log on as a different
user?

Or, is there a way that I can have the program start again when the
logon prompt appears.  This must happen before the user logs on again in
case they stop using the computer at this point (the program must be
running even if the computer is not in use).  I've tried using the
runservice key, but that only works if the user restarts windows.

Thanks,
Scott Storck



Mon, 25 Dec 2000 03:00:00 GMT  
 Preventing a VB app from closing when user logs off in Win '95
The QueryUnload event will be triggered when shutting down.

When your app starts, and doesn't exit willingly, you could add an
autostartup command in the registry

--
Bodi Klamph
Azure Dragon Software

Quote:

>Is there a way that I can keep an application from closing when a user
>clicks Start, Shutdown, Close All programs and log on as a different
>user?

>Or, is there a way that I can have the program start again when the
>logon prompt appears.  This must happen before the user logs on again in
>case they stop using the computer at this point (the program must be
>running even if the computer is not in use).  I've tried using the
>runservice key, but that only works if the user restarts windows.

>Thanks,
>Scott Storck


begin 666 Bodi Klamph.vcf
M0D5'24XZ5D-!4D0-"E9%4E-)3TXZ,BXQ#0I..DML86UP:#M";V1I#0I&3CI"
M;V1I($ML86UP: T*14U!24P[4%)%1CM)3E1%4DY%5#I"2VQA;7!H0$%Z=7)E

`
end


Sat, 30 Dec 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Solution: Preventing Windows from closing my VB app on log off

2. How to log-off Win 95

3. Tip : VB.NET Form Won't Close on Me.Close + User Controls

4. Disabling alt-tab, VB App that takes total control of Win '95

5. Finding the ID of the user currently logged-in on a Win 95 desktop

6. Prevent activeX.exe from unloading when user logs off

7. Prevent activeX.exe from unloading when user logs off

8. Preventing user closing windows while VB app is running

9. Closing Connection not logging off user

10. How To Close Registered Service as User Logs Off

11. Developing VB3 Apps Under Win '95

12. Developing VB3 Apps Under Win '95

 

 
Powered by phpBB® Forum Software