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.

Graphical User Interface (GUI)

GUI means Graphical User Interface.

GUI used in vb.net programming and other programming language that used object oriented programming.

i will post the next lesson in vb programming

Monday, June 21, 2010

Creating a new project in Visual Basic

the image above shows creating visual basic project. The following are the steps:
1. Under projects types sub window, choose visual basic, under the visual basic choose windows.
2. Under the Templates select window form application.
3. Change the default name of project (windowsApplication1) to your preferred project name.
4. Click browse button to select or to find your file path. or select your folder location.
5. Click ok
6. Enjoy creating your visual basic program.

Saturday, June 19, 2010

Overview of Visual Basic

 Visual basic is a high level language evolved from the  earlier  DOS version called BASIC. BASIC means Beginner's All purpose Symbolic Instruction Code.

It is also a Sofware Development System develop by MICROSOFT to support creating applications for windows operating system.

VB is introduced the concepts of an event driven programming model.

VB is developed by John Kemeny and Tomas Kurtz in mid - 1960s.

VB was developed in mid 1991 by microsoft corporation.