Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is_run
Message
 
To
31/07/1999 05:27:17
Joe Carroll
Carroll Computer Consulting
Paducah, Kentucky, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Is_run
Miscellaneous
Thread ID:
00248509
Message ID:
00248524
Views:
14
>Could someone please give me a simple example of using George Tasker's
>program "is_run"?

Hi Joe,

It's not terribly complicated:
* See if the Notepad's running (VFP)
lnhwnd = Is_Run32('Notepad')
IF lnhwnd > 0
  * Notepad is running
ELSE
  * Notepad isn't running
ENDIF
The only differences in the FPW and VPF versions (besides the names) are:
1. The FPW version requires that Foxtools be loaded in order to make the necessary API calls.
2. Different API calls are required for the 16 bit version as opposed to the 32 bit.

Are you having some problem with the function(s)?
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform