Thread View: borland.public.cppbuilder.nativeapi
2 messages
2 total messages
Started by guba
Wed, 16 Apr 2003 08:02
activatet the default E-mail program
Author: guba
Date: Wed, 16 Apr 2003 08:02
Date: Wed, 16 Apr 2003 08:02
3 lines
1005 bytes
1005 bytes
BCB5 , Win98 How can I activatet the default E-mail program (for example Outlook Express) with an E-mail adress.
Re: activatet the default E-mail program
Author: Rob Van Zant
Date: Wed, 16 Apr 2003 12:29
Date: Wed, 16 Apr 2003 12:29
20 lines
1409 bytes
1409 bytes
"guba" <admin@coka.co.yu> wrote in message
news:3e9d1b99@newsgroups.borland.com...
> BCB5 , Win98
> How can I activatet the default E-mail program (for example Outlook
Express)
> with an E-mail adress.
Try this:
ShellExecute(0, "open", "mailto:address@domain.com", "", "", SW_SHOWNORMAL);
or
int result = (int)ShellExecute(0, "open", "mailto:address@domain.com", "",
"", SW_SHOWNORMAL);
if (result <=32)
ShowMessage("Unable to start mail client.");
HTH,
Rob
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads