BRMC Level: VB Lord

 Registered: 28-11-2003 Posts: 210
|
Re: Web Like
For the Help in web pages:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/htmlhelp/html/vsconHH1Start.asp
and for open a web page by the default browser:
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 Button_Click()
shellexecute Me.hwnd, "open", "http://www.andreavb.com", vbNullString, vbNullString, vbNormalFocus
End Sub
|
Bye
[Edited by BRMC on 24-05-2004 at 09:58 AM GMT]
____________________________
I don't mind not going to heaven
As long as they've got cigarettes
in hell
|