Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto starting a foxpro program
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00267919
Message ID:
00269181
Views:
24
>If you don't mind having some part of the program running at all times, you can use some sort of timer code.
>However, if you want to kick off the program with some external scheduler, there are lots of options. In Windows 95/98, use the Scheduler. For Windows NT, there is a cool third party program call ClockMan 95 (check out the Web Site at http://www.clockman95.com).



if so, you need to write a new vfp program which can use API to search all Window Caption and close them
with another API function call!!

2nd part, Close application API coding can be searched in this site Knowledge Base,
(FindWindow by searching the Caption)
(SendMessage/CloseWindow/DestroyWindow with closing flag to that process)

Then, you can make a simply prg to close the application you want!!

Sorry, I am NOT an expert on WINAPI, I just know there is a way to do so!
Hope some ppl can help!! >-<
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Previous
Reply
Map
View

Click here to load this message in the networking platform