Saturday, February 14, 2009

How to make a program in Visual Basic


In order to make a program, one must first know a language in which one can 'talk' to the computer. For example, in order to tell a French waiter what you want, you must first know how to communicate with the waiter. Since the waiter is French, he or she must obviously know the French language. Also, the waiter could know a few other languages, including English.

A computer acts the same way as a waiter. In order for you to communicate with it, you must first know its language.

There are several computer languages, including Visual Basic, C++, Java, Python, Delphi and many more.

The most simplest computer language is Visual Basic. Since Visual Basic has an IDE (Integrated Development Environment), it makes it seem a lot simpler to the programmer.

You can download Visual Basic at http://www.microsoft.com/Express/VB/

After you have downloaded Visual Basic, run it and make a Windows Forms Applications.

Follow these instructions to make your first program in Visual Basic 2008 Express Edition.
  1. In the toolbox area, drag or double click on the 'Button' control
  2. Double click on the Button that you have put on the form
  3. When the code pops up, it say:
    • Private Sub Button1_Click (some code here)
    •  
    • End Sub
  4. In the space, type in MsgBox ("Hello World")
  5. Run the program by pressing the Green arrow at the top
Congratulations, you have just created your first program!

Comments :

3 comments to “How to make a program in Visual Basic”

Deadfire55 said...
on 

Thanks for this sweet guide. I will be looking around this site.

Anonymous said...
on 

Loved the guide!

Anonymous said...
on 

i dont know how to make a program...theres no guide here...

:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))

Post a Comment

Online Noobs

 

Copyright © 2009-2010 by A Noob's Guide