Quote:
>I'm building a VB app that runs a Windows app (through the SHELL command).
>These 2 apps should be the ONLY apps accessible to the user. That means
>no Program Manager, File Manager, DOS Prompt, etc.
>Using the API function SetSystemModalWindow() would solve the task-switching
>problem, however you cannot easily access the 2nd app, once you've locked
>the 1st app. Basically, I want to be able to access both apps on-screen
>with the simple click of the mouse without having to close one first.
>Thanks.
I haven't tried this, but...
Try setting your VB app as the Windows shell (in the boot section of system.ini.
there should be a shell= line.) That will start your app when Windows loads,
instead of Program Manager, effectively blocking the user from doing anything
else. The only thing I don't know is whether you'll be able to start the other
app with a SHELL statement.
Lee Weiner
"The worst day I ever spent programming was better
than the best day I ever spent playing golf."