simple c++ web browser
All tutorials created in C++ to be posted in here.
7 posts
Page 1 of 1
ok, simple tutorial....
controls:
1 button
1 txt box
1 web browser
in the button_click event add this:
controls:
1 button
1 txt box
1 web browser
in the button_click event add this:
Code: Select all
and your done...this->webBrowser1->Navigate(textBox1->Text)
C++ is so weird... "this->webBrowser1" (???) Why not just "webBrowser1". What is the "this" for?!
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.
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 

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.
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
Copyright Information
Copyright © Codenstuff.com 2020 - 2023