Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Email - HELP!
Message
From
21/10/1998 18:00:58
Ian Matthews
Up & Running Technologies Inc
Chestermere, Alberta, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00149120
Message ID:
00149146
Views:
24
Found it! Thanks

As per that posting, the following code works w/o prob:

mailtowho = "mailto:"+alltrim(lower(contacts.email))


DECLARE INTEGER GetDesktopWindow IN WIN32API


DECLARE INTEGER ShellExecute IN SHELL32 ;


INTEGER, STRING, STRING, STRING, STRING, INTEGER


hWnd = GetDesktopWindow()


ShellExecute(hWnd , 'open', mailtowho, '', '.', 5)




I don't know much about WIN32API but I suppose I've got to learn it.

Your time and information are much appreciated!


>It was posted on 08/25/1998 04:04:45 am. You should be able to find it using the calendar.
>
>>Thanks for the info... but I am not a 'Premier Member' so I can not search for that document.
>>
>>Would you provide more details???
>>
>>Thanx
>>
>>
>>
>>>You can use MAILTO: Take a look at Message #129589
>>>
>>>>I want to have a button on a form that when clicked will launch the users default email program (Windows based) and enters the email address from a field in a table.
>>>>
>>>>I beleive I can do this with the RUN command but I can not figure out what the coding is use for the default email program.
>>>>
>>>>Why is there not a nice MAILTO: function????
>>>>
>>>>HELP!!!

Previous
Reply
Map
View

Click here to load this message in the networking platform