Click to See Complete Forum and Search --> : How to know if one program running in vb?


Yu weidong
September 23rd, 1999, 08:20 PM
I want to run another program in my vb application,but how to
know the program is running or not?Thank any guru who could
tell me.

AndyK
September 23rd, 1999, 09:29 PM
hmmm, sorry but i think it's a bit confusing...you want to launch another program from your VB program?
You can use Shell for that:

Shell("c:\command.com", vbNormalFocus)

to launch MS-DOS
otherwise reply and explain what exactly are you trying to do

AndyK
September 23rd, 1999, 09:34 PM
To see all the programs that are currently running on your PC, press Ctrl+Alt+Del...!!!Be careful...press them only once, otherwise you will restart your computer!!!
But there is an exception....there is a code to "hide" the program that is running on your pc, so program is running but isn't visible when Ctrl+Alt+Del is pressed