Forgot Password / Register
Site Statistics
Total Members: 510
Total Tutorials: 242
Newsest User: Hp
Todays Unique Hits: 214
0 Users 6 Guests Online

Hello, world!

Okay, this is the most simple tutorial for Visual Basic.

1. Open up VB and make 2 Command Buttons and 1 Text Box. 2. Click on F4 and the properties window will open. Then click on Command1 and look in properties, you will see something called (Name), click on it and edit the name. 3. Put in cmdEnglish instead of Command1 then click on Caption that should be in the same column as (Name) and change Command1 to English. Then do the same for Command2 but instead of cmdEnglish but cmdFrench and instead of English put French.
4. Double click on the button you called English, a window will open, copy paste the following code in it between Private Sub cmdEnglish_Click() and End sub:

Text1.Text = "Hello, world!"

Then double click on the button you called French and between Private Sub cmdFrench_Click() add:

Text1.Text = "Bonjour, univer!"

Then click F5 on your keyboard and test your script. Click on the button you called "English" and "Hello, world!" will appear in the text box. Click on the button you called "French" and "Bonjour, univer!" will appear. You can edit the texts by double clicking one of the two buttons and editing the stuff after Text1.Text = "

And voila! Those were the basics, check the other tutorials for more!
Posted on Wednesday 11th July 2007 at 06:27 PM
lool Dean xD
I think so too..
anyway it's nice
Posted on Wednesday 11th July 2007 at 05:52 PM
Im sure i have seen this on some other website in the past but i may be wrong.
Posted on Wednesday 11th July 2007 at 05:26 PM
nice tutorial. looks good and i know it works, cause i have done one "LIKE" (not the same one) it before, and I just tried it lol, so ya nice one