Simple Web-browser

View previous topic View next topic Go down

Simple Web-browser

Post  Robin on Wed Sep 03, 2008 8:14 pm

For a simple internet browser you only need a few things:

- Webbrowser
- 1 Textbox
- 3 Buttons

Rename the 3 buttons;
Code:
Button1 to Go_Button
Button2 to Forward_Button
Button3 to Back_Button


Rename the TextBox to;
Code:
URL


And put it a little bit like this to get a nice look;


Now double click on the "Go_Button" and insert this code;
Code:
Webbrowser1.Navigate(URL.text)

also double click the "Forward_Button" and insert this code;
Code:
Webbrowser1.GoForward()

and last step double click the "Back_Button" and insert this code;
Code:
Webbrowser1.GoBack()


and there you go it should work fine its just a simple browser but you could add some extra's silent
(if you type in WebBrowser1. it will list something you could use try some out)

Have fun!

EXE version : HERE
Project version : HERE

Robin
Moderator
Moderator

Number of posts: 11
Age: 18
Location: Holland
Registration date: 2008-08-31

View user profile

Back to top Go down

Make It Look Better

Post  conorsteel on Wed Sep 03, 2008 9:28 pm

Robin, to make this application look better, you could Dock WebBrowser1 in its Parent Container, then use a toolstrip for the URL TextBox and all the buttons.

_________________
Conor Steel
Owner of Sporse Development
www.sporsedevelopment.com

conorsteel
Admin
Admin

Number of posts: 13
Age: 16
Location: Kilmarnock, Scotland
Registration date: 2008-08-31

View user profile http://homefinanceviewer.webs.com

Back to top Go down

View previous topic View next topic Back to top


Permissions of this forum:
You cannot reply to topics in this forum