Simple C++ Web Browser
All tutorials created in C++ to be posted in here.
5 posts
Page 1 of 1
Finally managed to finish a simple web browser with the Back, Forward, Navigate without any tutorials or references.
Here's the outcome screenshot: As shown in the screenshot above you'll need 3 buttons.
Change the names as bellow:
Button1 -> Back
Button2 -> Forward
Button3 -> Navigate
1 Textbox, call it txtURL
and 1 Webbrowser, leave its name as webBrowser1.
In the Back button place this code:
NOTES:
"this->" stands for "Me." in vb.net
The whole code in Visual C++ is CaSe SeNsItIvE
Be sure you always add a ";" in the end of each code line
C++ is a total pain so be sure you are mentally ready if you want to get in touch with monster.
Here's the outcome screenshot: As shown in the screenshot above you'll need 3 buttons.
Change the names as bellow:
Button1 -> Back
Button2 -> Forward
Button3 -> Navigate
1 Textbox, call it txtURL
and 1 Webbrowser, leave its name as webBrowser1.
In the Back button place this code:
Code: Select all
In the Forward button:
this->webBrowser1->GoBack();
Code: Select all
In the Navigate button:
this->webBrowser1->GoForward();
Code: Select all
In the webbrowser's DocumentCompleted (just double tap it in the designer):
this->webBrowser1->Navigate(textBox1->Text);
Code: Select all
this->Text = webBrowser1->DocumentTitle;
NOTES:
"this->" stands for "Me." in vb.net
The whole code in Visual C++ is CaSe SeNsItIvE
Be sure you always add a ";" in the end of each code line
C++ is a total pain so be sure you are mentally ready if you want to get in touch with monster.
You do not have the required permissions to view the files attached to this post.
thanks
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that 

Hehe, thanks for the tutorial I really needed it. I am trying to learn C++, but it is really confusing. Please post more tutorials! That would be great!
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!
![Image]()
![Image]()
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!

C++ doesn't seem to different from vb so far but it is i know
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that 

This is totally different from what I do. o_o
(C++ Win32) I actually have to write the code to create the window!
Nice tutorial by the way.
(C++ Win32) I actually have to write the code to create the window!
Nice tutorial by the way.
<?php
$wants_to_make_guide_today = true;
if($wants_to_make_guide_today == true){
make_guide();
}else{
sleep();
}
?>
$wants_to_make_guide_today = true;
if($wants_to_make_guide_today == true){
make_guide();
}else{
sleep();
}
?>
5 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023