What are the differences between a standard module and a
class module?
Answers were Sorted based on User's Feedback
Answer / nilesh b
To Use Standard Module, we do not need to create or
instantiate object of the same. While to use the class
module, we need to create and instantiate an object of the
same.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / intekhab
standard module:
1)place for variable declarations,procedures etc.and we can
access these procedures in wherever in the project.
2)Available only for the existing modules where they are
used.
class module:
1)Unlike standard module,members of class like object's
properties,events can be accessed only whenever an instance
of class is created.
2)We can make use of it whenever an object reference of the
particular class is created for number of applications
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / guest
Std Global with in the project. Cls Global through out the
all project only thing is we want to set the type lib.
Class Modules can be Instantiated.
Is This Answer Correct ? | 3 Yes | 3 No |
Answer / kumaran
Std Module : Only We can use with in the Application (Project)
Class Module : We can use (Outside) other application also
by using Instance creation.
Is This Answer Correct ? | 2 Yes | 2 No |
What is the purpose of the ClipControls property on a form or container?
Is it possible to change menu runtime using API? If yes? Specify the function names.
What is the use of command Object?What are the various types of variables?
what are the Differences between Recordset and Resultsets?
0 Answers IBS, Lava International,
which property is used to lock a textbox to enter data?
Is it possible to Access BackEnd procedures? Explain.
How would you define and use a Boolean in VB?
2 Answers Asteroid Software Services, Microsoft,
When/Why should I use Option Explicit?
How do I implement an accelerator key for a text box?
what is the Difference between Listindex and Tab index?
Besides Standard Exe what are other types of projects in VB?
what are the three main differences between flexgrid control and dbgrid(Data bound Grid) control