Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Launching other windows apps from VFP
Message
 
 
To
02/07/2001 06:49:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00525792
Message ID:
00525942
Views:
21
Teddy,

It's better to use the ShellExcute() API call. There's examples over on my website. You can also use the FFC _shellexecute class from VFP.

>How hard can it be to simply execute another windows application from VFP?
>
>From the VFP documentation I understand the RUN command to be used for executing a DOS command and being able to adjust various settings in the FOXRUN.PIF or an appropriate other PIF file.
>
>When I run the following command I do manage to run solitair but get the unavoidable dos box with it.
>run c:\winnt\system32\sol.exe
>
>There must be some native way of adressing just plain windows executables.
>
>No, of course I don't want to run solitaire. What I'm trying to do is to execute a winbatch file with a .wbt extension (Wilson WindowWare - Winbatch - Version 99K - WIL Interpreter) to remote control another software to export certain data.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform