Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShellExecute Question
Message
 
To
04/08/2001 14:14:31
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00539706
Message ID:
00539817
Views:
28
>Do this instead:
>cApp='d:\foldername\prgname.prg'
>
>Then run Shellexecute(). This will automatically cause Windows to run the cApp using VFP as long as '.prg' is a registered VFP extension.

Just one warning.
In Vfp6, when you would doubleclick on a PRG in the Windows Explorer, it would run the PRG in VFP6.
But in VFP7, it will open the PRG using MODI COMM so that you can edit it.
When the PRG is compiled, you will find a FXP file. When you doubleclick on that file, it will be executed, regardless of version 6 or 7 of VFP.

Regards,
Frank Camp
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform