|
-
Apr 28th, 2005, 06:49 AM
#1
Thread Starter
Hyperactive Member
closing app when logging off
I have an app that sits in the system tray.
My problem is that when a user logs off when the app is still running, because the app is still running, they can't log off.
Is there a way in my app, to close the app when someone is logging off?
any help would be appreciated.
-
Apr 28th, 2005, 12:25 PM
#2
Re: closing app when logging off
This is probably happening because you set e.Cancel = True always in your Form_Closing event. You need to determine why you are closing (user or system) and if it is the system, let it close gracefully.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|