Visual basic is the most popular and most widely used programming language basically because it's so easy and has design mechanisms. In this tutorial I will explain how to make a simple browsers.
Start up VB6 and make a Standard EXE and click CTRL+T and in the components window's control tab scroll down to select Microsoft Internet Controls and check it. Press OK.
Now in the tool bar there should be new icon;
click on it and make a control on the form as big as you want. Then these controls:
text box txturl
command button cmdgo
command button cmdback
command button cmdforward
command button cmdrefresh
So it should like this when you run it:
Click double click on the cmd go and add this code:
Private Sub cmdgo_Click()
This will make the browser navigate to the address the user entered in txturl. Simple enough
Click on the the cmdback button and add this code:
Private Sub cmdback_Click()
Click on the Forward button and add this code:
Private Sub cmdforward_Click()
This is self explanitory
Click on the cmdrefresh button and add this code:
Private Sub Command3_Click()
Also self explanitory.
Now you can do more complex things with the browser: Like making a button go to a certain url you would add this code:
Private Sub cmdgoogle_Click()
This will make the browser navigate to google.com
The thing about visual basic I like the most is the way it actually teaches the user. It is predictable so you can make your own codes easily. This is the most I can do right now I have homework. But if you have any questions go ahead and ask Im not very skilled with winsock but I'm functional so the tutorial will be about Micrsft Windows Socket control. It's used to connect to remote hosts the internet scan ports connect ports retrieve info with HTTPWRAPPERs it is probably the most popular control.
Note to use windows internet control you need shdocvw.dll in the system32 folder but most computers come with but if you don't see it in the components list download it from a website.
So any questions or comments?