Hi guys! At the moment I am using the following loop to check if a process is running. Does anyone know if there is a better way of doing this?

Code:
Dim isProcessRunning As Boolean = True

Do While isProcessRunning
   If (Process.GetProcessesByName("MyContacts").Length = 0) Then isProcessRunning = False
Loop
PS: I have also added code that exits the loop if it has laster for longer than 15 seconds as it tends to overload otherwise!