Page 1 of 1

simple c++ web browser

Posted: Fri Mar 05, 2010 11:32 am
by 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...

Re: simple c++ web browser

Posted: Sat Mar 06, 2010 1:56 am
by Nery
C++ is so weird... "this->webBrowser1" (???) Why not just "webBrowser1". What is the "this" for?!

Re: simple c++ web browser

Posted: Sat Mar 06, 2010 10:57 am
by 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.

Re: simple c++ web browser

Posted: Fri Apr 30, 2010 3:46 am
by zachman61
so this = me thats not to hard :)

Re: simple c++ web browser

Posted: Sat May 07, 2011 2:15 am
by 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.

Re: simple c++ web browser

Posted: Sat May 07, 2011 2:19 am
by Agust1337
Did you ever look at the date?

Re: simple c++ web browser

Posted: Sat May 15, 2021 1:48 pm
by rohitjadhav
Thanks.......