W
Webbyz
Hello everyone. I would like to develop a program in VB.NET that will
look for an instance of a running application and if the application is
not running, the new program will execute the application and open it.
There is a program out there called KeepAlive that does this but the
thing is that when I open a different window in the program that is not
the main page after the load, it recognizes this new page as "Non
Responsive".....Kills the Program...and Restarts it. This will not
work.
So basically lets say every 2 minutes, the new program looks to see if
Solitaire is open. If it is, do nothing. Else If Solitaire <> Open then
Execute Sol.exe .
Something to that extent.
I am looking to see how I can do this by reading what applicaitons are
currently running and I have no idea how to do so. I figure I can
inport all of the application names and look for a wild card of the
specific program that I want to always be open.
If anyone has any insight on this, please let me know....I would
apperciate it a lot.
look for an instance of a running application and if the application is
not running, the new program will execute the application and open it.
There is a program out there called KeepAlive that does this but the
thing is that when I open a different window in the program that is not
the main page after the load, it recognizes this new page as "Non
Responsive".....Kills the Program...and Restarts it. This will not
work.
So basically lets say every 2 minutes, the new program looks to see if
Solitaire is open. If it is, do nothing. Else If Solitaire <> Open then
Execute Sol.exe .
Something to that extent.
I am looking to see how I can do this by reading what applicaitons are
currently running and I have no idea how to do so. I figure I can
inport all of the application names and look for a wild card of the
specific program that I want to always be open.
If anyone has any insight on this, please let me know....I would
apperciate it a lot.