I'm using ShellExecute to start Outlook. The code works fine under Windows, but when running under Citrix MetaFrame Outlook Express starts instead of Outlook - this despite the fact that Outlook is defined as the default e-mail program.
(When Outlook Express starts the first message that appears is "Outlook Express is not currently your default mail client. Would you like to make it your default mail client?")
My question therefore is: why does Outlook Express start when I don't specify which program to start in the call to ShellExecute and Outlook (not Outlook Express) is defined as my default mail client?
NOTE: This is PowerBuilder code
Public Function Long ShellExecute(Long hWnd, String lpOperation, String lpFile, String lpParameters, String lpDirectory, Long nShowCmd) Library "shell32.dll" Alias For "ShellExecuteW"
ShellExecute(0, "", "mailto:" + ls_mail_to + "?subject=" + ls_subject + "&body=" + ls_body, "", "", SW_SHOWNORMAL)