Finding running processes




I have a vb6 program that needs to determine either how it was run
(from menu or spawned from another program) - or - detect if a
particular process is running or not.
Can someone point me to some sample code?

timf97@xxxxxxxxxxxxx
.