what is differece b/w Module and class Modules in vb6?
thanks

Answer Posted / jerald

class module
It is a user defined datatype.
It have datamembers(methods and variables).
It can be accesed by creating the instance called
object if the class is not static. If the class is static
then it can be acessed using classname.datamember when
datamember is public.
Protected datamember can be accesed only by the first
inherited class.
Private datamember can be accesed only inside the main
class.

Is This Answer Correct ?    12 Yes 25 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Scope of API's can be of types, what are they?

1494


How to get Cursor position using API?

1684


Explain about creating VB applications in excel?

679


Difference between Class Module and Standard Module?

1993


What is a toolbox in visual basic?

516






Parts of ODBC?

1464


___ property used to add a menus at runtime.

1240


How do I change the color of a form in visual basic?

485


How do I add a form in visual basic?

518


How many types of API functions are available in VB?

1896


What is "Reserved Error -1209"?

1339


Can you tell me the properties of the controls?

1577


Why visual basic is used?

537


What is the current version of Visual Basic for Windows?

1122


What is data control in vb?

552