Gabriel Knight
2012-04-26 14:27:00 UTC
Greetings,
Not sure if this is something I can resolve in my VB application, or
if it is something that needs to be addressed at the Windows level.
My application runs a dir() query every x minutes. The computer runs
this in XP Mode and it stays running from startup. This application
was made in order to resolve some connectivity problems they were
having with two DOS applications that run in XP Mode.
The problems are resolved by this application, but when the user
issues a shutdown of the Windows 7 host computer, if my application is
still running they get a transparent screen overlay offering them to
force close the application.
If my application is shutdown in advance, everything is fine, but this
would be a nuisance to the users.
Is there a way for me to detect that there is a shutdown requested?
I'm not even sure if this gets passed to the XP Mode guest virtual
computer. This may be something that needs to be handled in more than
one scope; I'm not sure how - or even if - an application running in
XP Mode will receive notification that the host is attempting to
shutdown.
Any advice or reference would be appreciated.
--- Posted via news://freenews.netfront.net/ - Complaints to ***@netfront.net ---
Not sure if this is something I can resolve in my VB application, or
if it is something that needs to be addressed at the Windows level.
My application runs a dir() query every x minutes. The computer runs
this in XP Mode and it stays running from startup. This application
was made in order to resolve some connectivity problems they were
having with two DOS applications that run in XP Mode.
The problems are resolved by this application, but when the user
issues a shutdown of the Windows 7 host computer, if my application is
still running they get a transparent screen overlay offering them to
force close the application.
If my application is shutdown in advance, everything is fine, but this
would be a nuisance to the users.
Is there a way for me to detect that there is a shutdown requested?
I'm not even sure if this gets passed to the XP Mode guest virtual
computer. This may be something that needs to be handled in more than
one scope; I'm not sure how - or even if - an application running in
XP Mode will receive notification that the host is attempting to
shutdown.
Any advice or reference would be appreciated.
--- Posted via news://freenews.netfront.net/ - Complaints to ***@netfront.net ---