3. Introduction to Visual Basic Programming

Comment is free, but facts are sacred.

—C. P. Scott

The creditor hath a better memory than the debtor.

—James Howell


In this chapter you’ll learn:

• To write simple Visual Basic programs.

• To use the Windows Forms designer to position, size and align controls.

• To write statements that input data from the user and display results to the user.

• To declare and use data of various types.

• To use variables to store data for later use in a program.

• To use arithmetic operators to perform calculations.

• How precedence determines the order in which arithmetic operators are applied.

• To write decision-making statements.

• To use equality and relational operators to compare values.

Outline ...

Get Visual Basic® 2012 How to Program, Sixth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.