VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



How to Load your Default WebBrowser with the TextBox Control:

by Edgar Santiago (4 Submissions)
Category: Internet/HTML
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 30th May 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

How to Load your Default WebBrowser with the TextBox Control:

API Declarations


Declare Function ShellExecute Lib "Shell32.dll" Alias "ShellExecuteA"(ByVal hwnd As Long,ByVal mxOperation As String,ByVal mxParameters As String,ByVal mxDirectory As String,ByVal nShowCmd As Long) As long



Rate How to Load your Default WebBrowser with the TextBox Control:



[GeneralDeclaration]
Const comSwNoraml = 1

Private Sub cmdLounch_Click()
ShellExecute hwnd, "Open", Text1.Text ,vbNullString,vbNullString,ComSwNormal

This Function will Load your Default Browser with the Web Address on the Text Box.
Test:TextBox Type: "http://www.microsoft.com/"
Click the Command Button:

Download this snippet    Add to My Saved Code

How to Load your Default WebBrowser with the TextBox Control: Comments

No comments have been posted about How to Load your Default WebBrowser with the TextBox Control:. Why not be the first to post a comment about How to Load your Default WebBrowser with the TextBox Control:.

Post your comment

Subject:
Message:
0/1000 characters