simple c++ web browser

All tutorials created in C++ to be posted in here.
7 posts Page 1 of 1
Contributors
User avatar
tedhead2
Excellent Poster
Excellent Poster
Posts: 338
Joined: Sun Jan 03, 2010 8:36 am

simple c++ web browser
tedhead2
ok, simple tutorial....

controls:
1 button
1 txt box
1 web browser

in the button_click event add this:
Code: Select all
this->webBrowser1->Navigate(textBox1->Text)
and your done...
Image
User avatar
Nery
Co-Admin Moderator
Co-Admin Moderator
Posts: 1117
Joined: Mon Sep 07, 2009 8:11 pm

Re: simple c++ web browser
Nery
C++ is so weird... "this->webBrowser1" (???) Why not just "webBrowser1". What is the "this" for?!
User avatar
tedhead2
Excellent Poster
Excellent Poster
Posts: 338
Joined: Sun Jan 03, 2010 8:36 am

Re: simple c++ web browser
tedhead2
Nery wrote:
C++ is so weird... "this->webBrowser1" (???) Why not just "webBrowser1". What is the "this" for?!
C++ to VB Translation...

C++: ->
VB: .

C++: this
VB: Me

you just need to get used to it, then your fine.
Image
User avatar
zachman61
VIP - Donator
VIP - Donator
Posts: 1891
Joined: Wed Dec 16, 2009 9:56 pm

Re: simple c++ web browser
zachman61
so this = me thats not to hard :)
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that :)
User avatar
lee74saurus r3x
Just Registered
Just Registered
Posts: 3
Joined: Mon Aug 23, 2010 1:01 am

Re: simple c++ web browser
lee74saurus r3x
You could just not use me, too. In VB.NET and C#.NET you can just say webBrowser1.blablabla. No need for the extra me.
User avatar
Agust1337
Coding God
Coding God
Posts: 2456
Joined: Fri Feb 19, 2010 8:18 pm

Re: simple c++ web browser
Agust1337
Did you ever look at the date?
You're crazy!
I'm not crazy, my mother had me tested. ~Sheldon Cooper
rohitjadhav
Just Registered
Just Registered
Posts: 1
Joined: Sat May 15, 2021 1:25 pm

Re: simple c++ web browser
rohitjadhav
Thanks.......
Have a glance at the best review sites for kitchen appliances, gadget review, electronic, kitchen appliances etc. best review sites
7 posts Page 1 of 1
Return to “C++ Tutorials”