vb 2010
08-08-2010, 03:29 PM,
#1
vb 2010
Hey does anyone know of any good VB 2010 or VB 2008 Source sites? i want to create a Webbrowser but i dont even know where to start (im a beginner) :P
[Image: wwe-umaga-173x63.jpg]
Reply
08-08-2010, 11:09 PM, (This post was last modified: 08-09-2010, 06:24 PM by RichardGv.)
#2
RE: vb 2010
A web browser... I remember when I learned Visual Basic 6 5 years ago, there was a control to embed a browser to a form, basically it loads IE inside a control. I guess this control or a replacement still exists in VB.NET. I found 2 videos teaching how to create a so-called web browser in VB.NET, but I did not have the patience to watch them all.
http://www.youtube.com/watch?v=Lv44m4dHGQk
http://www.youtube.com/watch?v=FU5IPwbrfoE

It's almost impossible to create a web browser that does not use Internet Explorer or another third-party engine internally for a beginner.. A text-based browser (something like elinks, links, lynx, or w3m) may be easier to create, but still very hard for a beginner, as it requires knowledges about the underlying HTTP and TCP protocol, at least. A web browser is a huge project, and it's unrealistic for a beginner to create a real browser (instead of the shell of another browser). Just take a look at how big the source code packs of Firefox or WebKit are -- all over 25MB.
Also, VB is a very weak language, thus unsuitable for a serious web browser design. Learn C/C++ if you really want to create a browser. Creating a full-fledge web browser with VB from scratch is just like trying to make a Boeing 747 with Lego. :)

A programming language usually cannot be mastered so soon, either. Why you are in such a hurry? A programming language, seriously, takes 10 years to master.
Gentoo Linux User (w/ fvwm) / Loyal Firefox User / Owner of a Stupid Old Computer - My PGP Public Key

No man is an island, entire of itself; every man is a piece of the continent, a part of the main; if a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friends or of thine own were; any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee.
-- Devotions Upon Emergent Occasions (1624), John Donn
Reply
08-09-2010, 12:42 AM,
#3
RE: vb 2010
As Richard pointed out, making your own web browser with it's own layout engine is an insanely large project, and almost impossible if you want to be serious with VB. Learning C/C++ would be much better if you are determined to do it. Then you can make use of the open source webkit engine (powering Google Chrome and Apple Safari), and make a fork out of it, or whatever.

But, if it's the case you just wanted to make a new browser with a different design, but make use of Internet Explorers engine (Trident), just with your own functions and stuff, then here's some tutorial on getting started learning the basic syntax:

http://www.vbtutor.net/vbtutor.html
http://www.planet-source-code.com/vb/def...p?lngWId=1

And here's a tutorial on how to make a very simple browser (quite easily, actually):

http://www.knowledgesutra.com/forums/top...b-browser/

Cheers! ;)
Reply


Forum Jump: