Popular Articles

At one time Russia rivaled the USA as a global power, but then came Gorbochov and we all know that Russia broke up into 18 states. This was also the end
From the 8th century the Muslim invaders began to make forays into Hindustan and by the 12th century the entire North India and the throne at Delhi had
Privacy is an important thing in every section. Same goes for mobile phones too. People always have something to hide from others on their mobile phone

Latest Articles

Subhas Chandra Bose was a rival of Gandhi and during the war he threw his lot with the Fascist powers and joined them. He had a one point agenda to overthrow
At one time Russia rivaled the USA as a global power, but then came Gorbochov and we all know that Russia broke up into 18 states. This was also the end
I had in an earlier post pointed out that the great Hindu warrior  Hemu was struck by an arrow in his eye in the third battle of Panipat and lost

Class  module


The most commaon way  to build a new class for new objact in vb is to use  a class module.

A class module object contains the code forcustm properties andmethod that objects defined.
A form module and a class module can implement the interface of another class we can add properties and method to both form and class modules.
A class module cannot have a vissible interface of its own.Each class module created will giveus asingle class to build new instances of that class memders.

These class members are methods and properties.
The keyword public signifies that member isaccessible to al modules within project.
The keyword print signifies that the mambers with in the clas module.

  • No comments found