Just put a Label on the form, set it's Caption Property to the clickable text and add suitable code to the Label's Click event:
Code:
Private Sub Label3_Click()
Dim x
x = Shell("RUNDLL32.EXE URL.DLL,FileProtocolHandler [URL unfurl="true"]http://www.essexsteam.co.uk",[/URL] vbNormalFocus)
End Sub
That will open the site using the user's default browser. Replace the 'x = ...' line with:
Code:
x = Shell("RUNDLL32.EXE URL.DLL,FileProtocolHandler mailto:jm @ essexsteam.co.uk", vbNormalFocus)
for email. make sure you don't leave the spaces in the real email address!
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?' Drive a Steam Roller
You're welcome. Thanks, and season's greetings to you!
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?' Drive a Steam Roller
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.