Changes

Jump to: navigation, search

Object Oriented Programming with Visual Basic

1 byte added, 16:09, 18 January 2008
Defining a Visual Basic Class
== Defining a Visual Basic Class ==
Before an object can be instantiated we first need to define the class 'blueprint' for the object. In this chapter we will create a Bank Account class to demonstrate the concepts of Visual Basic object oriented progammingprogramming.
Being by starting Visual Studio and creating a new Windows Application named ''vbObjects''. Once the project opens, select the ''Project...'' menu and select ''Add class...''. In the ''Add New Item'' dialog, name the new class file ''clsBankAccount.vb'' and click on the ''Add'' button.

Navigation menu