Wie kann ich in einen Form einen Link für eine Internetseite oder E-Mail-Adresse einfügen. Z.B. aus einem Label.
Danke im Vorraus
Hallo
so:
Option Explicit
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
Public Sub gotoweb(ByVal a_strURL As String)
Call ShellExecute(0&, vbNullString, Trim(a_strURL), vbNullString, „C:“, SW_SHOWNORMAL)
End Sub
Public Sub sendemail(ByVal a_strEMail As String)
ShellExecute 0&, vbNullString, „mailto:“ & a_strEMail, vbNullString, „C:“, SW_SHOWNORMAL
End Sub
Wie kann ich in einen Form einen Link für eine Internetseite
oder E-Mail-Adresse einfügen. Z.B. aus einem Label.
Danke im Vorraus