
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