Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to start an EXE from an associated file type
Message
 
 
To
13/08/2003 14:41:46
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00819891
Message ID:
00819893
Views:
10
>I define an associated file type (*.pet) in Windows Explorer and say to open it with a VFP executable. Double-clicking a sample file with this extension in Windows Explorer properly starts the .exe and passes it the file name as a parameter, but the VFP executable doesn't run - it immediately closes.
>
>Do I need to do something in particular with the passed file in the app?

Your application main program should at least accept a parameter. What you do with it is up to you.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform