Results 1 to 10 of 13
-
12-27-2010 #1
[TUT] How To Create a Simple WebBrowser In Visual C++[TUT]

This tutorial Was made and Written By: Jimmmy™(Me)
Important(I forgot in Two pictures to put the (); After the code String Sorry. xD
I will post above those pictures.
Well First You Need to Open Visual C++

Second Step: You Need To Click Create New Project.

Third Step; Click Windows Form Application, And delete The Name In the Name Area and name it Whatever you Want.

Fourth Step; A Box Will Appear That looks Like This,

Fifth Step; You Want To Resize Your box To what ever you Want it to be

Sixth Step; You Want To Click Web Browser in the Toolbox and click it in the Box You Resized:

Seventh Step; You Want To Look for the little White Arrow in the Top Right hand corner by the Red X. Then Click it, Then it will say "Undock in Parent Container"
Click That Then you will have this

Eighth Step; You want to resize that webBrowser to your liking in side you Form.

Ninth Step; Now In your Toolbox Click Button Then Add it to the Project, then move it above the webbrowser and put it somewhere like mine in the Picture Below:

Tenth Step; now add a second button beside it, and Make them spaced out a bit but aligned to each other:

Eleventh Step; Add a Nice Long textBox Beside You Second Button but space it out, and realign if you need to, and You might need to adjust your webBrowser Box,

Twelfth step; Add a third Button, Beside the textBox, Make it align with everything so it looks nice and not sloppy.

Thirteenth step; rename all the boxes, the first box: "Back" or "GoBack"
The Second Box, "Forward" or "GoForward"
The Last Box, "Go"
To rename the boxes just click once, then right click then click properties, and then it should have a box come up and it should say button1 or button2
then just click that part and delete that text then name it something.

Fourteenth step; this is the Fun Part; Coding the buttons, double click the Button That says Either, "Back" or "GoBack"
The Code is:
Code:this->webBrowser1->GoBack();

Fifteenth step; Time to code the Second Button That Say's Either, "forward" or "Go Forward"
Code:
Sixteenth step; Time To Code the Last Button, That's named, "Go"Code:this->webBrowser1->GoForward();
Code:
Seventeenth step; Click the Green Button Near the top, when you hover over it, it should say "debug" then click it.Code:this-webBrowser1->Navigate(this->textBox1->Text);
Eighteenth Step; Type something in the textbox like this:
Then Click Go,Code:http://google.ca
i Hope you Liked My Tutorial, Please press thanks if this helped.
IF YOU NEED any help whatso ever, Please feel free to pm me.
:DLast edited by illuminati; 06-15-2011 at 11:59 PM.
http://imtiax.net

-
The Following 5 Users Say Thank You to illuminati For This Useful Post:
Christopher(12-27-2010), Dr. Xenon (09-12-2011), PedoBear (12-27-2010), R0ogie (12-27-2010), Xi DinoxSwagg iX (02-19-2011)
-
12-27-2010 #2
Re: [TUT] How To Create a Simple WebBrowser In Visual C++[TUT]
Good Tut!
Needs a sticky!
-
12-27-2010 #3
Re: [TUT] How To Create a Simple WebBrowser In Visual C++[TUT]
look foward to makeing 1! thanks for the tut

-
12-27-2010 #4ιηfιηιтє ѕωαg

- Join Date
- Jul 2010
- Location
- California
- Age
- 22
- Posts
- 3,152
- Thanks
- 1179
- Gamertag
- Bloopers
Re: [TUT] How To Create a Simple WebBrowser In Visual C++[TUT]
I like your wallpaper.
-
The Following 2 Users Say Thank You to Sason For This Useful Post:
AirBiscuit (12-27-2010),
Christopher(12-27-2010)
-
12-27-2010 #5
-
12-27-2010 #6
Re: [TUT] How To Create a Simple WebBrowser In Visual C++[TUT]
Awesome stuff, stuck!
-
12-28-2010 #7
-
01-17-2011 #8
Re: [TUT] How To Create a Simple WebBrowser In Visual C++[TUT]
Thanks man, just started up with this language. Seems pretty hard but I'm determined!
C++ FTW!
Life is a stage. Smoke weed until you die.
-
02-19-2011 #9
Re: [TUT] How To Create a Simple WebBrowser In Visual C++[TUT]
hey, get me a copy of that wallpaper?;)
I'm just starting to learn c++, and still need to download visual basic, but it seems awesome, and I cant wait!
-
09-12-2011 #10
Re: [TUT] How To Create a Simple WebBrowser In Visual C++[TUT]
Awesome Tut :)!!!!!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)



LinkBack URL
About LinkBacks

Reply With Quote






Bookmarks