Sinisterly
Simple WebBrowser - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Visual Basic & .NET Framework (https://sinister.ly/Forum-Visual-Basic-NET-Framework)
+--- Thread: Simple WebBrowser (/Thread-Simple-WebBrowser)



Simple WebBrowser - Ascension - 03-20-2013

Tutorial By Ascension

Welcome at another tutorial made by Ascension.
In this tutorial i'm going to teach/learn you guys:
How to make a SIMPLE webbrowser.
Okay, let's start.

First, add 5 buttons called:
Back
Forward
Refresh
Go
Home

Add a textbox too between Refresh and Go.

And a webbrowser ofcourse haha.

It should be looking like this, or you got a other design. Whatever:
[Image: 3u4nYWy.png]

If you want a homepage.
1 Click on the webbrowser, scroll down and search for URL.
Then type the homepage you want.
My homepage is: http://www.google.com
It's right here:
[Image: xN4gJFE.png]

Now the coding part:
Double click on the button called 'Back' and enter the code:
Code:
webbrowser1.GoBack()

Double click on the button called 'Forward' and enter the code:
Code:
webbrowser1.Forward()

Double click on the button called 'Refresh' and enter the code:
Code:
webbrowser1.Refresh()

Double click on the button called 'Back' and enter the code:
Code:
webbrowser1.GoBack()

Double click on the button called 'Go' and enter the code:
Code:
webbrowser1.Navigate(textbox1.Text)

And the last button.
Double click on the button called 'Home' and enter the code:
Code:
webbrowser1.Navigate("your homepage")

After you coded the browser, debug it.
And tadaaaaa you just made your own webbrowser!

Tutorial made by Ascension
All credits to me Biggrin

Thanks for following this tutorial, have a nice day!


RE: Simple WebBrowser - The Alchemist - 03-21-2013

Will it support HTML5 codes, flash(youtube vids and all), AJAX, jQuery, javascript, etc. etc?


RE: Simple WebBrowser - H4R0015K - 03-21-2013

(03-21-2013, 06:12 AM)The Alchemist Wrote: Will it support HTML5 codes, flash(youtube vids and all), AJAX, jQuery, javascript, etc. etc?

well webbrowser plugin uses internet explorer engine so if all that works in IE it will work with this.


RE: Simple WebBrowser - Exploits - 03-21-2013

i just started with visual studio, so this tut is very helpful thank you!!!! Wink


RE: Simple WebBrowser - ArkPhaze - 03-21-2013

(03-21-2013, 06:17 AM)H4R0015K Wrote:
(03-21-2013, 06:12 AM)The Alchemist Wrote: Will it support HTML5 codes, flash(youtube vids and all), AJAX, jQuery, javascript, etc. etc?

well webbrowser plugin uses internet explorer engine so if all that works in IE it will work with this.

Nope, that would be wrong... Keep in mind this control is an old version of IE. (IE 7.0 to be exact.)

IE 7.0 definitely doesn't have HTML5 support as HTML5 didn't even come out until a few versions of IE later.


RE: Simple WebBrowser - Ascension - 03-21-2013

(03-21-2013, 06:17 AM)Exploits Wrote: i just started with visual studio, so this tut is very helpful thank you!!!! Wink

I´m glad i helped you! Smile