Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShellExecute()
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00092846
Message ID:
00092900
Views:
36
>I don't think that second declare will work. Both NT (as far as I know) and 95 use the first one, but the strings should be passed by reference.
>
>I see you've discovered one of the beauties of ShellExecute(), you can smply pass the name of the file you want opened and the associated application will open and run it. It would be interesting on the NT machine to see if FindExecutable() (also in Shell32) is returning the same application.


I didn't think so either. I have NT but I didn't try it as VFP is not loaded on it. He says that the second declare works. I just shrugged.

I think that the app association functionality is one of the best things about this function. Especially if you don't know what the user has on their machine, like browsers.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform