The shutdown/log off action is started by the user. My app needs to detect when this happens then run an external application. Upto this point, I am OK. When the external application finishes, I need my app to continue with the shutdown/logoff. How do I detect whether the computer was originally shutting down or logging off? Another question, is once my application completes, and it issues a shutdown/log off to continue the original request (by the user) to shutdown/log off, how do I stop my app from running again!? LoL Thanks
| +-- JDMils | +-- VB6 +-- VB Dot Net |