View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Mark \(InWales\)[_21_] Mark \(InWales\)[_21_] is offline
external usenet poster
 
Posts: 1
Default Testing to see if windows application iis running

Dear All

In my program I use (copied) code to start the good ol' trusty windows
calculator. How can I test to see whether the calculator is already running
and give the user a message box to that effect if it is or start it if it
isn't.

(Office XP, XP Pro)

If calc.exe is running then
msgbox "Calculator is already running"
exit sub
'Code to start the calculator
end if

Any suggestions

TIA
Mark (InWales)