nomar2
asked on
Check with VB.Net Code whether a program is open or not
I am using VB.Net code
I have a piece of code built that needs another program open before it can run properly.
I know when the program is open it appears as SimplyAccounting.exe in Task Manager..is there a way I can test this...
if open continue...
if not open MsgBox "Program must be open"
I have a piece of code built that needs another program open before it can run properly.
I know when the program is open it appears as SimplyAccounting.exe in Task Manager..is there a way I can test this...
if open continue...
if not open MsgBox "Program must be open"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Just getting back to office will check this now ...Thanks
You can use it like this:
If (IsProcessRunning("SimplyA
MessageBox.Show("It is running")
Else
MessageBox.Show("Process not found...")
End If
Open in new window