Working tutorial on making a web browser in vb6 and im sure you could figure out some modules that bypass things like that:
by some rejected guy on google, not me. saves me time of writing u one ;p
This is a simple and specific tutorial on how to make a basic web browser in Visual Basic 6.
Steps 1-3
Create a new project, and then go to "Project" on the menu.
Click components as shown in the following image.
Find the component "Microsoft Internet Controls," check it, and click "Apply" and then "Close."
Click the icon that was just added in the tools window, and draw a large sized window with it. This is going to be where you view webpages through your browser, so don't make it small, but leave room for buttons and other accessories.
Steps 4-6
Make a textbox, this will be your URL bar where you type in the address of the website you want to see.
Make four command buttons, these are going to be your Go, Back, Forward, and Refresh buttons, change the captions accordingly, and name each of them Cmdgo, Cmdback, CmdForward, and CmdRefresh.
Now, here's the coding part. This is all it takes to make your webbrowser working.
CODE
Private Sub cmdback_Click()
WebBrowser1.GoBack
End Sub
Makes the back button go backwards, pretty much self explanatory.
CODE
Private Sub Cmdforward_Click()
WebBrowser1.GoForward
End Sub
Same concept, except this time the webbrowser goes forward.
CODE
Private Sub cmdgo_Click()
WebBrowser1.Navigate (Text1.Text)
End Sub
Makes your webbrowser go to the URL in your text box.
CODE
Private Sub cmdrefresh_Click()
WebBrowser1.Refresh
End Sub
Makes your web browser refresh.
CODE
Private Sub Form_Load()
WebBrowser1.Navigate ("http://thyelite.com")
End Sub
The URL shows your homepage, change it to
Google or whatever your usual homepage you would like to be.
CODE
Private Sub WebBrowser1_StatusTextChange(ByVal Text As String)
Text1.Text = (WebBrowser1.LocationURL)
Form1.Caption = (WebBrowser1.LocationName)
End Sub
This changes the text box's text into what URL that you're currently at, and the next line makes the caption of your form into the header of the URL.
There you are, a tutorial on how to make a browser, thanks for your time .