is it possible to check if an exe is running. As i would like my program not run with out the other one.

the code i am thinkin off:
Code:
If project1.exe is running then 
else
unload me
End If
what code replaces 'project1.exe is running'

thanks in advance chris1990