Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shellexecute problem on WinXP
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00733769
Message ID:
00733809
Views:
20
Chris,

Make sure that XP box has a mailto item in the registry. It should be right under HKEY_CLASSES_ROOT

>The following code pops up an Outlook "new msg" window. This works fine on Win2k PCs. But no window is displayed on WinXP machines:
>
>
>ShellExecute(0, "", "mailto:" + lcEmailAddress + "?Subject=" + lcSubject + ;
>             "&body=" + lcMessageBody, "", "", 9)
>
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform