Post: How to make a basic web browser in VB.NET!
07-26-2012, 09:57 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); ok so today im going to be teaching you how to make a web browser in VB.NET! so lets begin
open a new project and a windows application
drag the form to fill the whole space you've got and then goto properties and select lock = true
now add a text box five buttons and of course a webbrowser

arrange them like this !

You must login or register to view this content.

and then from left first name them :

go back forward refresh home

now double click go and type :

     webbrowser1.navigate(textbox1.text) 


now double click back and type :

    webbrowser1.GoBack()


double click forward and type :

    WebBrowser1.GoForward()



double click refresh and type :
    
webbrowser1.refresh


double click home and type :
    
webbrowser1.gohome()


now to display the current pages URL in the textbox then double click the webbrowser and type :
    
TextBox1.Text = WebBrowser1.Url.ToString()


hope this helps and dont forget to thanks if it did!
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked Snoop Dog for this useful post:

FortyThieves
07-26-2012, 10:22 PM #2
Good for beginners, but I'd personally use WebRequest -- that's of course without doing a whole framework for a web browser.

The following user thanked RuffRage for this useful post:

Red
07-26-2012, 10:47 PM #3
Epic?
Awe-Inspiring
Originally posted by RuffRage View Post
Good for beginners, but I'd personally use WebRequest -- that's of course without doing a whole framework for a web browser.


I'm a bit confused as to what you mean. I'm fairly sure the entire purpose of this tutorial was to create a basic web browser. I'm pretty sure you would not want to use WebRequests to build a web browser.
07-27-2012, 02:08 AM #4
I gave a thanks for the effort Smile
07-27-2012, 11:50 AM #5
thanks guys will post more tuts on demand!

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo