|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Application KeepAlive?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. take a look at the Process item. you can get all running processes and the
you can get (i think its an array, i have a program at home that does this) of the running ones. if your process isnt running, just create a new one, once again using the Process item. i can send you an example soon if you want. mine does just the opposite, it looks for an AIM process (no, its not a virus, jsut for use on a work computer) and if it finds one, it exits the process -- -iwdu15 Imports System.Diagnostics
.... For Each p As Process In Process.GetProcesses '... Next Also I guess you want to implement it as a service, as probably you do not want need to be logged in (right?). -tom iwdu15 ha scritto: Show quoteHide quote > take a look at the Process item. you can get all running processes and the > you can get (i think its an array, i have a program at home that does this) > of the running ones. if your process isnt running, just create a new one, > once again using the Process item. i can send you an example soon if you > want. mine does just the opposite, it looks for an AIM process (no, its not a > virus, jsut for use on a work computer) and if it finds one, it exits the > process > -- > -iwdu15
Form_Keydown being overridden
circular left shift in VB Sending a command to a COM port... MouseHover doesn't work? Servlet Counterpart in VB.NET Can not create 2 properties with same signature. Properties with generics adding a console application Updating a specific cell in a SQL database Can i read the text in MSword document using Word Object Library? |
|||||||||||||||||||||||