Hi Tim,
I think I may have already answered this on the UT, but the correct syntax
is:
lnhWnd = Is_Run32('someprg')
IF lnhWnd > 0
* It's running
ENDIF
Note that the function only searches top-level windows.
Hi, George, I am an old Trek fan only.
I followed your example above but keep getting zero returned.
I am running NT so if I go to task mgr and see whats running,for example telnet.exe, I could use the syntax lnhWnd = Is_Run32('telnet.exe')
or lnhWnd = Is_Run32('vfp6.exe')?
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."