Welcome to the forums.
The first thing you need to do is to set the EnableRaisingEvents property to True.
VB.NET Code:
  1. myProcess.EnableRaisingEvents = True
Then add a handler for the Exited event:
VB.NET Code:
  1. AddHandler myProcess.Exited, AddressOf ProcessExited

And of course, you need an eventhandler subroutine:
VB.NET Code:
  1. Private Sub ProcessExited(ByVal sender As Object, ByVal e As System.EventArgs)
  2.  
  3. End Sub

Just add your logic in the ProcessExited method. Voila