Search Tools Links Login

Make Your Own Internet Explorer


Visual Basic 6, or VB Classic

to make your own internet web browser to use for personal uses. make a internet web browser to dislay latest news from your website. this uses the Microsoft Internet Explorer.

Original Author: D1M3N510N

Code

start a new .EXE file. go to Project>Components>Microsoft Internet Controls then click apply then close. you should see a new icon in the general window. it looks like a globe. click that and draw a big square on your form. you should make it fit right down to the bottom and right to the sides. not too far as users may not be able to see the information as it may go off screen. add a new text box and 1 new command button. double click on the command button and the code window will open. in the middle of the:
Private Sub Command1_Click()
and
End Sub
put WebBrowser1.Navigate Text1.Text so the code would look like this:
Private Sub Command1_Click()
WebBrowser1.Navigate Text1.Text
End Sub
what this code does is tells the web browser control to navigate to the url in the text box. you can add other commands other than Navigate.
Here are some of them:
WebBrowser1.Refresh
WebBrowser1.goBack
WebBrowser1.goForward
WebBrowser1.Stop
WebBrowser1.goHome
i think you can figure out what they all do. experiment with them.
NOTE: the user must have Microsoft Internet Explorer to run. hope you like my tutorial. rate it plz!

About this post

Posted: 2003-06-01
By: ArchiveBot
Viewed: 114 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.