What are the differences between a standard module and a
class module?

Answers were Sorted based on User's Feedback



What are the differences between a standard module and a class module?..

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

What are the differences between a standard module and a class module?..

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

What are the differences between a standard module and a class module?..

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

What are the differences between a standard module and a class module?..

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

Post New Answer

More Visual Basic Interview Questions

What is the purpose of the ClipControls property on a form or container?

1 Answers  


Is it possible to change menu runtime using API? If yes? Specify the function names.

0 Answers  


What is the use of command Object?What are the various types of variables?

0 Answers  


what are the Differences between Recordset and Resultsets?

0 Answers   IBS, Lava International,


which property is used to lock a textbox to enter data?

4 Answers  






Is it possible to Access BackEnd procedures? Explain.

0 Answers  


How would you define and use a Boolean in VB?

2 Answers   Asteroid Software Services, Microsoft,


When/Why should I use Option Explicit?

0 Answers  


How do I implement an accelerator key for a text box?

0 Answers  


what is the Difference between Listindex and Tab index?

1 Answers  


Besides Standard Exe what are other types of projects in VB?

2 Answers  


what are the three main differences between flexgrid control and dbgrid(Data bound Grid) control

1 Answers  


Categories