![]() |
|
[.NET] [Your first VB2008 Program] Web browser [With codes & Screen shots] - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] [Your first VB2008 Program] Web browser [With codes & Screen shots] (/showthread.php?tid=116476) |
[Your first VB2008 Program] Web browser [With codes & Screen shots] - BETAhkr - Aug 5, 2009 Here is a simple tutorial with screen shots showing you how to make a simple web browser in visual basic 2008. You will need these items, and place them like they are in the screen shot. 1 text box, 1 Home button, 1 Go back button, 1 Go forward button, Refresh button, 1 Stop button, 1 Menustrip (For shortcuts), 1 Go button. [IMG]http://i28.[censored].com/28uhiqs.jpg[/IMG] Now the stop, refresh, go, back, forward, home, will all be picture boxes. (They will not have line around them when the project is built) Now add the code Pictures boxes...Just double click on them so it will be picturebox_click [IMG]http://i28.[censored].com/2nkhr2r.jpg[/IMG] Now lets add the code for our shortcuts. Just double click on each option on your menu strip as seen below. [IMG]http://i28.[censored].com/290u7if.jpg[/IMG] If you would like to make it go to a website (such as your own) on start up Under Form1_Load put Code Webbrowser1.Navigate "www.Yourwebsite.com"Here is the full code. MenuStrip - Options - Exit Code Me.closeMenuStrip - Shortcuts - Google.com Code Webbrowser1.Navigate "www.google.com"MenuStrip - Shortcuts - Myspace.com Code Webbrowser1.Navigate "www.myspace.com"MenuStrip - Shortcuts - Youtube.com Code Webbrowser1.Navigate "www.youtube.com"MenuStrip - Shortcuts - Hackforums.net Code Webbrowser1.Navigate "hackforums.net"MenuStrip - Shortcuts - Wikipedia.org Code Webbrowser1.Navigate "www.wikipedia.org"Picturebox - Back Button Code Webbrowser1.GobackPicturebox - Forward Button Code Webbrowser1.GoforwardPicturebox - Refresh Button Code Webbrowser1.RefreshPicturebox - Stop Button Code Webbrowser1.StopPicturebox - Home Buttom Code Webbrowser1.GohomePicturebox - Go Button Code Webbrowser1.Navigate (Textbox1.Text)That it...A simple basic web browser in Visual Basic 2008 (VB .NET). - Druidoron - Aug 9, 2009 wow thanks guy, have u more good tutorial for vb? 🤗 - BETAhkr - Aug 9, 2009 Yes, Here's some by me. https://hackforums.net/showthread.php?tid=118833 https://hackforums.net/showthread.php?tid=118399 https://hackforums.net/showthread.php?tid=118406 https://hackforums.net/showthread.php?tid=118413 https://hackforums.net/showthread.php?tid=115980 Here's some good codes by H1N1 https://hackforums.net/showthread.php?tid=110400 - AnubisX - Aug 9, 2009 Thanks for this tut, but it is very un needed with vb.net not only because of vb2k8's auto fill but also because their are already a mass of tutorials like and even better than this one.... Sorry to sound negative but their are so many browser tuts with nothing extra. - BETAhkr - Aug 9, 2009 Oh well, I will make an advanced web browser tutorial, Just for you, Check back in a day or 2. :) - BumbleBee - Aug 16, 2009 Where are the:home,fron.back,....buttons...? - BETAhkr - Aug 16, 2009 My buttons are the pictures. [IMG]http://i29.[censored].com/2dkilc8.jpg[/IMG] After you make this, Try making this, It's better. :) https://hackforums.net/showthread.php?tid=121434 - BumbleBee - Aug 16, 2009 (Aug 16, 2009 02:50 AM)BETAhkr Wrote: My buttons are the pictures. I mean where are these buttons at the tool box?Or you put basic buttons and costumize them?🤦♂ - huso69 - Aug 16, 2009 maybe make a tab web browser :D - BETAhkr - Aug 17, 2009 This is for a beginner huso, That's why I gave him the link so when hes ready He can make a different web browser. Anyway... These buttons can be whatever you want, I used a picture box and double clicked on the picture so if you click on the picture it does the function, Some people use command buttons. - zer0cool - Sep 8, 2009 one question please,okay how do i make my web browser compatible with flash. so i can watch youtube videos etc. thanks lol By the way You Forgot to add the WebBrowser Component on The Form. nice tut. - BETAhkr - Sep 8, 2009 No I didn't, Mine is as the size as the form and white like the background of my form. I added a box and buttons, I didn't forget anything. :) * - _3rr0r - Sep 16, 2009 I finished it, thank you for helping me :) * - BETAhkr - Sep 24, 2009 No problem, You can always try this more advanced web browser I suggest it to anyone. https://hackforums.net/showthread.php?tid=121434 |