App.PrevInstance will tell you
Actually communicating with the previous App is a bit more complicated
- this involves finding its hWnd
- or that of an obliging sub-window - eg: a Textbox
( I discarded AppActivate and SendKeys years ago )
Look into the FindWindow API ...
On Thu, 10 Jul 2003 10:34:04 +0000 (UTC), Amrik Singh
<am*********@btinternet.com> wrote:
HI folks can anyone help a newbie here.
I would like to know how I can check if my software is already running.
So that if the user click s on the shortcut to start the progam again
it maximises the already running program.
tia
Amrik