Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem using ShellExecute under Windows Server Enterpri
Message
 
To
29/06/2009 05:57:46
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Miscellaneous
Thread ID:
01409010
Message ID:
01409019
Views:
60
Hi Ian,

>1) Why ShellExecute is not using the Default Verb , or

That would happen if there's no default action associated with the file extension. In this case, ShellExecute() uses the first verb which might be "print". It could be that Explorer isn't using the first one, rather tries open and edit before resorting to something else.

File associations are stored in HKEY_CURRENT_USER\Software\Classes.
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform