How can I add a link to my project?
For example if I want to put... E-mail me: [email protected]
Printable View
How can I add a link to my project?
For example if I want to put... E-mail me: [email protected]
Use the ShellExecute api function.
Code:Private 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
Private Const SW_SHOWNORMAL = 1
Usage
ShellExecute Me.hwnd, vbNullString, "mailto:[email protected]", _
vbNullString, "c:\", SW_SHOWNORMAL