Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running Extrenal Programs
Message
 
To
09/02/1999 22:53:37
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00185803
Message ID:
00185832
Views:
12
Richard, check out the Windows API "ShellExecute". You can use this to load files by their registered apps automatically. If the registered app is already running, it will use that running instance. Do a search on ShellExecute for more info.

Mon

>Works great! But here's a twist: change external program to WORD; what if a document is already open in WORD, and I want to open another document in the same instance of WORD (if I execute the code now, WORD will open again) No big deal, guess I could just have VFP check to see if WORD is already open, and close it 1st if it is open, then issue the run command Comments? Thanks.
Previous
Reply
Map
View

Click here to load this message in the networking platform