Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 02-11-2008, 08:08 PM   #1
Baseband Member
 
Ashley's Avatar
 
Join Date: Feb 2008
Posts: 37
Default First Web Browser

I hope this is the right section for this.

So i built my very first web browser today using Visual Basics 2008. Now im very new to all of this program building/coding etc but i am very interested to learn, so i started learning yesterday. I used a nice simple tutorial which helped me build and experiment with visual basics.

I ended up with a VERY basic web browser, but im happy with it.
I plan on updating it over the next couple of months when i learn to add and code a 'Back' and 'Forward' button etc.

Ive added a few screenshots of it in use.





__________________

Ashley is offline   Reply With Quote
Old 02-12-2008, 12:26 AM   #2
Bogan
 
Neodude112320's Avatar
 
Join Date: Feb 2006
Location: Australia
Posts: 8,471
Send a message via MSN to Neodude112320
Default Re: First Web Browser

Nice! What Version of Visual Studio are you using? I use Visual studio express 2005.
__________________

__________________
Desktop:BitFenix Survivor~Gigabyte GA-P67A-UD3R~ i7 2600K @ 4hz~AMD 6870 1GB~12gb Team Elite DDR3 1333~3xWD In RAID5~W7 Ult
Laptop:Alienware M11x~ i7-2637M 1.7GHz~16GB 1333MHz DDR3~GeForce GT 540M~W7 Ult
Neodude112320 is offline   Reply With Quote
Old 02-12-2008, 02:31 AM   #3
Baseband Member
 
Ashley's Avatar
 
Join Date: Feb 2008
Posts: 37
Default Re: First Web Browser

Microsoft Visual 2008 Express Edition
(it's the free one im a bit of a cheap a** haha)
Ashley is offline   Reply With Quote
Old 02-12-2008, 02:50 AM   #4
Bogan
 
Neodude112320's Avatar
 
Join Date: Feb 2006
Location: Australia
Posts: 8,471
Send a message via MSN to Neodude112320
Default Re: First Web Browser

Express is pretty good,Keep us updated with this browser please!
__________________
Desktop:BitFenix Survivor~Gigabyte GA-P67A-UD3R~ i7 2600K @ 4hz~AMD 6870 1GB~12gb Team Elite DDR3 1333~3xWD In RAID5~W7 Ult
Laptop:Alienware M11x~ i7-2637M 1.7GHz~16GB 1333MHz DDR3~GeForce GT 540M~W7 Ult
Neodude112320 is offline   Reply With Quote
Old 02-12-2008, 03:38 AM   #5
Daemon Poster
 
wmorri's Avatar
 
Join Date: May 2007
Posts: 1,066
Send a message via AIM to wmorri
Default Re: First Web Browser

What is the name of the tutorial that you are using with VB. I would like to learn more about VB and coding for things like web browsers and the like.

Cheers!
__________________
LEARN BY DOING NOT BY FOLLOWING DIRECTIONS!
Linux Forever!

I thought you were a hispanic/african american? Who is the white guy in the pictures?
wmorri is offline   Reply With Quote
Old 02-12-2008, 12:17 PM   #6
Baseband Member
 
Ashley's Avatar
 
Join Date: Feb 2008
Posts: 37
Default Re: First Web Browser

I'm going to play around with the browser a bit more tonight to see what else i can do. i will definatly keep you updated with progress

This is the tutorial i was using, the best thing is that it is very simple and easy to understand, i hope this helps.

http://www.squidoo.com/buildyourownbrowser

While reading through the site i also found his next project where he is trying to create a 2 browser window it also seems pretty simple to follow so i will also include a link. Ive also just read that he shows you how to create a forward and back button for the browser so i can now add that to my browser

http://www.squidoo.com/webbrowser2
Ashley is offline   Reply With Quote
Old 02-12-2008, 04:14 PM   #7
Baseband Member
 
Ashley's Avatar
 
Join Date: Feb 2008
Posts: 37
Default Re: First Web Browser

So i found out today how to code the 'Back' 'Forward' and also the 'Home' button on my browser so i put them in, followed by the code and it worked!
I made a few adjustments, the colour and the first button says Go instead of Start now.

For thoose of you that are interested the code is very simple for the back button etc

It is simply:
WebBrowser1.GoBack()
WebBrowser1.GoForward()
WebBrowser1.GoHome()

Ashley is offline   Reply With Quote
Old 02-12-2008, 04:20 PM   #8
Fully Optimized
 
Computer Head's Avatar
 
Join Date: Jun 2006
Posts: 2,841
Default Re: First Web Browser

It's definitely a start. I don't know much about the new versions of Visual Basic, but IMO if you can figure it out, I recommend getting the address text box to show the current address instead of the most recently typed address. I am not sure how to do that though, as all my VB experience is in database-driven applications.
__________________
A+, Network+
Official "Birthday Man" of CF.

http://www.yourpcforums.org
Computer Head is offline   Reply With Quote
Old 02-12-2008, 06:33 PM   #9
Bogan
 
Neodude112320's Avatar
 
Join Date: Feb 2006
Location: Australia
Posts: 8,471
Send a message via MSN to Neodude112320
Default Re: First Web Browser

This will display the URL for ya:

Quote:
Dim URL_String As New System.Text.StringBuilder()

URL_String.Append(e.Url)

TextBox1.Text = URL_String.ToString()


End Sub
__________________
Desktop:BitFenix Survivor~Gigabyte GA-P67A-UD3R~ i7 2600K @ 4hz~AMD 6870 1GB~12gb Team Elite DDR3 1333~3xWD In RAID5~W7 Ult
Laptop:Alienware M11x~ i7-2637M 1.7GHz~16GB 1333MHz DDR3~GeForce GT 540M~W7 Ult
Neodude112320 is offline   Reply With Quote
Old 02-12-2008, 06:52 PM   #10
Baseband Member
 
Ashley's Avatar
 
Join Date: Feb 2008
Posts: 37
Default Re: First Web Browser

Thank you, i will add that in

Update: Ok so the code didn't work for me, i'm not sure why though. So im going to try and figure this out. I will let you know if i do it.
__________________

Ashley is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 06:00 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0