NiftyHost Forums (Archive)
vb 2010 - Printable Version

+- NiftyHost Forums (Archive) (https://niftyhost.chary.us/support)
+-- Forum: Technology (https://niftyhost.chary.us/support/forum-7.html)
+--- Forum: Software (https://niftyhost.chary.us/support/forum-14.html)
+--- Thread: vb 2010 (/thread-468.html)



vb 2010 - Zavoo - 08-08-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


RE: vb 2010 - RichardGv - 08-08-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.


RE: vb 2010 - Vanilla - 08-09-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/default.asp?lngWId=1

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

http://www.knowledgesutra.com/forums/topic/31604-how-to-make-a-web-browser/

Cheers! ;)