Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Launching other windows apps from VFP
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00525792
Message ID:
00525950
Views:
22
Added benefit of CreateProcess is that it'll even run DOS commands invisibly.
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform