Christopher
November 29th, 1998, 05:59 PM
Any one tell me how to attatch a hyperlink to a form
say somthing like.
my web page
Which will link to a web page in explorer or whatever browser there is available.
thanks.
(You never know I might find the solution!?? 1st) :)
christopher
November 29th, 1998, 05:59 PM
Any one tell me how to attatch a hyperlink to a form
say somthing like.
my web page
Which will link to a web page in explorer or whatever browser there is available.
thanks.
(You never know I might find the solution!?? 1st) :)
Russ Dodge
November 29th, 1998, 08:16 PM
'DECLARATION:
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
'FOR WEBPAGE:
Private Sub Label12_Click()'or whatever control activates it command button etc.
Dim lRet As Long
Dim sText As String
sText = "http://www.mathouse.com"
lRet = ShellExecute(hwnd, "open", sText, vbNull, vbNull, SW_SHOWNORMAL)
If lRet >= 0 And lRet = 0 And lRet <= 32 Then
MsgBox "Unable to access Web browser !"
End If
End Sub
Christopher
November 30th, 1998, 01:22 PM
Thanks!!!! for that Code!!
You know it solved my prevous problem too!!
and made alot of other tasks alot easier.
Again
THANKS!!!
again!!
Christopher.
christopher
November 30th, 1998, 01:22 PM
Thanks!!!! for that Code!!
You know it solved my prevous problem too!!
and made alot of other tasks alot easier.
Again
THANKS!!!
again!!
Christopher.