Things You'll Need:
- Microsoft Visual Studio 2005
- Some knowledge of Visual Basic
-
Step 1
Create VB ProjectCreate a new Visual Basic Windows Application project. This sample project was named PersonalBrowser and saved locally.
-
Step 2
Change Form1 Text PropertyClick on Form1 and change its default Text property to "PersonalBrowser".
-
Step 3
Add WebBrowser ComponentFrom the Toolbox, add the WebBrowser component. It will fill the form. To change this, click the new WebBrowser1 and change its Layout Dock property from "Fill" to "Bottom". This will allow you to change it's size and make space for some extras.
-
Step 4
Add TextBox And ButtonFrom the Toolbox, add a TextBox and a Button. Neatly position both above WebBrowser1.
-
Step 5
Change the Text property of Button1 to "Go". Modify the Anchor property on all three accordingly.
-
Step 6
Add button functionDouble-click on the button. This is how the browser will grab the address you type in TextBox1 (aka. address bar). Add the following:
If TextBox1.Text = "" Then
WebBrowser1.Navigate("www.ehow.com")
Else
WebBrowser1.Navigate(TextBox1.Text)
End If -
Step 7
Run the example to test it out. When you've got it tweaked with pictures, colors, and lots of extras, Publish your finished product and use it with pride!












Comments
howorhow said
on 7/4/2009 This guide is good, kinda confused me because I was using 2008 version, but I love this program, in like 10 minutes I already had a web browser (though it could only search at the time.
santoshraj007 said
on 9/11/2008 It's a nice program for New Developer.
Santosh Raj, Ratlam