borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2009 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Saving a file with different extension)Next Topic (Need to get my .txt to a matrix) New Topic New Poll Post Reply
AndreaVB Forum : VB General : Web Like
Poster Message
Oracle
Level: Graduate

Registered: 07-04-2004
Posts: 12

icon Web Like

I would like to open a web browser page from a like on a VB form and possible use web pages for a user ‘Help’.

Can anyone point me in the right direction for doing this.

24-05-2004 at 08:21 AM
View Profile Send Email to User Show All Posts | Quote Reply
BRMC
Level: VB Lord


Registered: 28-11-2003
Posts: 210
icon 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

24-05-2004 at 08:58 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VB General : Web Like
Previous Topic (Saving a file with different extension)Next Topic (Need to get my .txt to a matrix) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2009 Andrea Tincaniborder