ALl information about internacking , all tricks and tips about hackiet, computer science, Hng, learn how to hack facebook id get latest information about hacking, get best opinion about mobile phones

Monday, 8 December 2014

How to Make a Web Browser

How to Make a Web Browser


While there are many Internet browsers such as Internet Explorer, Firefox and Google Chrome that can be downloaded and installed on your computer for free, creating web browsers yourself gives you more control over how you want to browse the Internet. With a custom web browser you can not only decide how the appearance should be but also add custom buttons and features. Visual Basic is one of the most common programs used to make a web browser.
Steps
Make a Web Browser Step 1.jpg
1Install Visual Basic on your computer by either downloading the software from the Visual Basic Developer Center website or using an installation disk.
Ad


Make a Web Browser Step 2.jpg
2Run Visual Basic and start a new project by going to the File menu and clicking on "New Project."
Make a Web Browser Step 3.jpg
3Browse over "Text" and select "Web Browser" in the form page that appears.
Make a Web Browser Step 4.jpg
4Go to "View" in the top menu bar, browse over "Other Windows" and click on "Toolbox." This will display the Visual Basic toolbox.
5Double-click on the Web browser tool in the toolbox.

Make a Web Browser Step 5.jpg
Make a Web Browser Step 6.jpg
6Press the right arrow icon on the top-right of the form and click on "Undock in Parent Container." This will change the view of the form from full-screen to a smaller window within the Visual Basic interface.
Make a Web Browser Step 7.jpg
7Resize the web browser form to your desired size using the clickable outline around it.
8Set the URL (Uniform Resource Locator) property to a website address that you wish to visit. This will open up a default website on open so you can see what a website will look like when opened through your Internet browser.

Make a Web Browser Step 8.jpg
9Create a new button and assign the following properties to it.

Make a Web Browser Step 9.jpg
The text on the button should say "Go."
Name the button "GoBtn."
Make a Web Browser Step 10.jpg
10Trigger the button by double-clicking on it. This will pop up a private sub. Enter the following code between the private and end subs (you can replace "URL" with any website address).
WebBrowser1.Navigate(URL)
Make a Web Browser Step 11.jpg
11Test the button by clicking on it. It should take you away from the default website to the destination website assigned for the button.
12Select the TextBox tool from the toolbox.

Make a Web Browser Step 12.jpg
Make a Web Browser Step 13.jpg
13Drag the TextBox tool and drop it on the custom web browser form that you are creating.
14Name the text box as "addressTxt."

Make a Web Browser Step 14.jpg
Make a Web Browser Step 15.jpg
15Go back to the button you created earlier and replace the URL with "addressTxt.Text." This indicates that you want to use the button to go to whatever URL is typed in the address bar.
Make a Web Browser Step 16.jpg
16Test the address bar by using it to visit different websites.
Make a Web Browser Step 17.jpg
17Save the web browser that you have just created as a program through Visual Basic by selecting the option to save through the File menu.

No comments:

Post a Comment