Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Close A File
Message
 
To
30/04/2012 11:57:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01542893
Message ID:
01542908
Views:
57
Check if this code sample can help:

How to make FoxPro application automatically close all documents and programs it started
http://www.news2news.com/vfp/?example=491

The idea is that when opened, a document or file is linked to a special system entity called "job object". Closing a job object automatically closes all documents linked to it.

This code sample opens file using the CreateProcess API rather that ShellExecute.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform