Post: [How to] make a web browser in Visual basic
10-22-2008, 12:05 AM #1
Iconnor12
Do a barrel roll!
(adsbygoogle = window.adsbygoogle || []).push({}); ok fist of all open new standard .exe (Windows Form App) as shown in the pic below..

You must login or register to view this content.

after you have done this make your from a little bigger then we can start making
the web browser

when you have your form resized choose the panel from the tool box
after you have the pannel on your form (drag or doubble click) go to properties box in the bottom right hand side and scroll down to dock and select top as shown in the pic below...
You must login or register to view this content.
You must login or register to view this content.


after you have done this your pannel should be located in the top of your form. You then need a webbrowser controll found in the toolbox as shown.After you have done that then add 6 buttons from the toolbox and 1 textbox from the tool box and arrage how you like i decided to lay mine out like this...

You must login or register to view this content.

you can rename the text on the buttons in the properties box under text.

when you are happy with what you have you need to then go to the webbrowser1 and rename it to web you can do this by looking in the properties box for "(name)" and name it "web" do the same for the textbox and call it "URL".

You must login or register to view this content.

after this you can now move onto the code...

the code is very simple here is what you need..

Back buttons script:

web.GoBack ()

Forward buttons script:

web.GoForward ()

Refresh buttons script:

web.Refresh ()

Stop buttons script:

web.Stop ()

Home buttons script:

web.GoHome ()

Go buttons script:

web.Navigate (URL.text)

it should look like this...

You must login or register to view this content.

after this hit the run button and check if it works Happy

the result:

You must login or register to view this content.

and there you go your very own web browser Happy Happy

Web browser tutorial by
Iconnor12

hope you like it you can also resize the browser to full screen

If you would like more tutorials on visual basic then please ask in a post of what you would like

fake Msn tutorial coming soon!
Last edited by Iconnor12 ; 10-22-2008 at 01:22 AM.

The following 2 users say thank you to Iconnor12 for this useful post:

Surikizu
10-22-2008, 12:22 AM #2
I really like that. For your tutorials you should put watermarks in the images.
10-22-2008, 12:25 AM #3
Iconnor12
Do a barrel roll!
watermarks? as in?
10-22-2008, 12:43 AM #4
This is an example of a watermark
You must login or register to view this content.
It's basically text that you lowered the opacity of so that people can't rip the images claiming the work as theirs when you made it.
10-22-2008, 12:55 AM #5
Iconnor12
Do a barrel roll!
aaaah good idea im gona do that thanx man Happy
Last edited by Iconnor12 ; 10-22-2008 at 01:01 AM. Reason: speldings
10-22-2008, 10:44 PM #6
Surikizu
GUMI fanboy
I work Iconnor keep it up!
10-22-2008, 10:59 PM #7
Dandyman2
The Only Krazy
cool man! i won't get round to doing it but if i do then i will be here.
10-23-2008, 09:29 PM #8
Oneinfamous
Former Staff
nice, but looks really hard im not going to try it ill stay with chrome
10-23-2008, 10:13 PM #9
AgentJon
Former Staff
where do you get that thing to do it?
10-30-2008, 09:54 PM #10
Iconnor12
Do a barrel roll!
you can download it from here You must login or register to view this content. and this is just simple visual basic its not hard if you look Happy

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo