Tuesday, June 29, 2010

Compute Two Numbers and get the sum

This program is to compute two numbers and get the sum. see the solution below.

This is a interface of Simple Computation

This is a code for the button Compute


This is a code for button Close

Next day i will give another example in visual basic programming. learn and enjoy..

Monday, June 28, 2010

Controls in Visual Basic

Controls - used to create objects in visual basic form and also it used to create user interface.
this images is a toolbox in visual basic to create a user interface.

Objects - the name of a user interface element you create on visual basic form by using toolbox.

Property - a value or characteristics used by visual basic objects. it used to put a name, forecolor, font, etc.

Wednesday, June 23, 2010

Program that show a message in vb programming

This program will show a message using msgbox.
if the button "Show Message" click the program that will show a message "Welcome to vb programming .net".

if you click the button Show Message the code will appear. see the image below.





.This is a code in button Show Message. This message is using msgbox keyword of function.







This is a output of this program. if you click the button the program will appear another form that have a message "Welcome to vb programming"

VB Environment


The Integrated Development Environment when you launch VB2008 Express is shown in the diagram below.

The IDE consist of the following controls or panes:
1. Toolbox
2.Solution Explorer
3. Properties
4. Form
5. toolbars

VB tutorial

http://www.vbtutor.net/vb2008/vb2008tutor.html

VB tutorial

http://www.vbtutor.net/vb2008/vb2008tutor.html

Tuesday, June 22, 2010

Event Driven Programmig

Procedural programming - this is a type of programming that the compiler execute the program start at the first line. and also it the program call the OS to get the user input. or type of program that ask the user to input.

Event Driven Programming - there are set of instruction in different objects.
and also this the execution of program will depend to the buttons or action they want to execute.