Restarter
Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
6 posts
Page 1 of 1
Code: Select all
While True
Dim myList As Process() = Process.GetProcessesByName("something.exe")
If myList.Count < 1 Then
Process.Start("something.exe")
End If
Threading.Thread.Sleep(100)
End While
Well Im not sure what you're asking...
but to restart your application you would just do
but to restart your application you would just do
Application Restart wrote: Application.Restart()
It will only start more than 1 of the program if your program is hiding itself from the processes list.
I want a program that starts another program and when you check [checkbox1]Restart if Crashes then it opens the program when its off...
http://www.mediafire.com/?mzhzjmjqewm
http://www.mediafire.com/?mzhzjmjqewm
6 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023