velox
Retired
How can i link my email to a click event on a cmd button?
Students helping students, join us in improving Bored of Studies by donating and supporting future students!
Public 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
Public Const SW_SHOWNORMAL = 1
' somewhere in your code
ShellExecute Me.hWnd, vbNullString, "mailto:mail@domain.com", vbNullString, "C:\", SW_SHOWNORMAL