Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Launch Default Email
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00673868
Message ID:
00673898
Views:
18
You are quite close,
try the shellexecute function calling the mailto: command.
Bob Lee


>I am trying to let a user click on an email address displayed in a Foxpro textbox, and have a new mail message open in the users default email.
>
>I have tried two methods so far. First I used the hyperlink object and called NavigateTo with "mailto:someemailaddress" as the cTarget.
>
>This almost works. It opens internet exloperer, then opens the new mail message.
>
>I tried using the Run command, but it doesn't seem to recognize "Mailto:".
>
>I also tried run /N explorer mailto:someemail and it opens internet explorer and the new email message.
>
>There must be a way to get the new email message without opening internet explorer.
>
>Any help would be appreciated.
>
>Thanks,
>Tim Trostle
In the beginning, there was a command prompt, and all was well.
Previous
Reply
Map
View

Click here to load this message in the networking platform