Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running external program
Message
From
20/09/2005 03:01:32
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01051001
Message ID:
01051145
Views:
14
Hi Naomi,
Do you know at least name of the exe ?
Maybe you can implement file search in VFP and then if file is found
run it. You can have look at my XDIR tool here downloads it might help you implement file search / run relatively easy.

Rgds++
Sergio



>>>
>>>What is the best way to run an external executable, which could be anywhere on user's drive or not where at all (in such case we would need to show an error message)? E.g. if I don't know the exact path to this program, what should I do?
>>
>>Let user handle it. On the first run as user to point to the program with Open File dialog and store result somewhere for future use.
>
>This process may run as a batch process. Right now I'm testing it from GUI, but we may want to try it to run in batch mode. However, I don't want to make this program slower than it has to be. Can you find out from prg the name of exe that called it? If it's batch, let it fail, otherwise we may use your suggestion and ask user for file location.
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform