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!!!