|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Keep software runningI am looking for a method (maybe even a commercially available piece of
software) to watch a program and ensure that it is always running. If it is killed in task manager, it will automatically start it up again, etc, etc. <cbr***@duclaw.com> schrieb:
>I am looking for a method (maybe even a commercially available piece of \\\> software) to watch a program and ensure that it is always running. If > it is killed in task manager, it will automatically start it up again, > etc, etc. Do Dim p As Process = Process.Start("C:\foo.exe") p.WaitForExit(); Loop While True /// -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> <cbr***@duclaw.com> wrote in message
news:1137520501.004924.45660@o13g2000cwo.googlegroups.com... Yeah... I had some spyware that did exactly that. Basically, a "helper" app >I am looking for a method (maybe even a commercially available piece of > software) to watch a program and ensure that it is always running. If > it is killed in task manager, it will automatically start it up again, > etc, etc. monitored the list of processes and the Run registry key. If that junk spyware was removed from either place, that helper would re-create the reg entry and restart the spyware... Plus, the spyware monitored the helper app so it was protected in the same way.... argghhhh. Getting rid of the whole mess took a while and if you add this functionality to your app, hopefully, you'll be kind enough to warn people about it. At least, that way they can say "Nah... not for me" or "Cool.. glad its protected". -- Ken Halter - MS-MVP-VB (visiting from VB6 world) - http://www.vbsight.com Please keep all discussions in the groups.. Actually its for a Magnetic Card reading application where users only
have access to reboot the system, which would be a pain if the reader crashed for any reason. So I need to monitor it to keep it running. I am with you on the spyware though. Waste of programming and talent. <cbr***@duclaw.com> wrote in message
news:1137522570.353772.266650@z14g2000cwz.googlegroups.com... Boy... you're right about that <g> One of the worst messes I've seen at here > Actually its for a Magnetic Card reading application where users only > have access to reboot the system, which would be a pain if the reader > crashed for any reason. So I need to monitor it to keep it running. > > I am with you on the spyware though. Waste of programming and talent. > work was on the owners PC (figures... it's just a web enabled type-writer to him)... what it did was change the registry association for exe's to some invalid setting. Needless to say, no exe's would run... not even Windows. That was a barrel of laughs to fix (without losing data), I tell ya' -- Ken Halter - MS-MVP-VB (visiting from VB6 world) - http://www.vbsight.com Please keep all discussions in the groups.. Ken,
Actually I have helped this week somebody to get rid of that. I saw that virus/trojan for the first time, it is awful. While it is pointing to existing websites. I don't understand why those owners of those websites are not prosecuted. Cor If you don't want to build an app, I think you can do some of this if your
watching a service.... check out the "recovery" tab in service manager. <cbr***@duclaw.com> wrote in message Show quoteHide quote news:1137520501.004924.45660@o13g2000cwo.googlegroups.com... >I am looking for a method (maybe even a commercially available piece of > software) to watch a program and ensure that it is always running. If > it is killed in task manager, it will automatically start it up again, > etc, etc. >
Problem with SHAppBarMessage
How to create a "DataSource" & "Items" properties on Custom Combob The Irish fada (áéíóú/ÁÉÍÓÚ) and encryption/decryption problem! Binding sources question in Vs2005 Working with structures and the New keyword Detect Remote Shutdown Alignment problem displaying .txt file in window's textbox? Impersonation without credentials ? Encyrption in VB and Decryption in VB.NET DataTable.Expression |
|||||||||||||||||||||||