
Wanted: Code to click a label and pop up user default e-mail program
Play around with this code. I don't have the code handy so this is from
memory.
Mark
(In a BAS module:)
Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA"
(ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As
String, ByVal lpParameters As String, ByVal lpDirectory As String,
ByVal nShowCmd As Long)As Long
(In the click event of the lable:)
0&, 0&, 0&)
Quote:
> Does anyone have some code to put in the click event of a lable that
will
> pop up the user's default e-mail program with the correct address in
the
> "To" field ? Easy to do in HTML (mailto:) but how is it done in VB?
> Thanks,
> Al Canton
Sent via Deja.com http://www.deja.com/
Before you buy.