ok i want to put a link for my email address in my program anycode to do this and what do i do to insert the link?
Printable View
ok i want to put a link for my email address in my program anycode to do this and what do i do to insert the link?
can u help????/
make a lable with u'r address as caption
make font blue and underline
set its icon prop to a hand
add this code
VB Code:
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 Sub Label1_Click() ShellExecute 0&, vbNullString, "mailto:" & Label1.Caption, vbNullString, "C:\", vbNormal End Sub
Sample attached :)
I cannot find a hand icon (I have a similar program and ended up not using a hand).
hand for u guys :)
LOL.
I actually did end up adding one to my compiled resources and then accessing it by resource as you are suggesting :).
I was trying to more suggest that I could not find one in the standard-available cursors (and then had to use my own).
oh :) sorry :o
well gamezfreakuk probably needs it :)