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 are the Differences between Recordset and Resultsets?

0 Answers   IBS, Lava International,


How would you Create a Query Builder and Explain its uses ?

0 Answers  


What is dao in vba?

0 Answers  


Can we display only integers / numbers through the message box? Is there any constraint to do so?

8 Answers   Infosys,


What are the tools available for Debuggiu in VB?

0 Answers  






reading lines from a file by searching a word(instr) and copying to other textfile,but its only copying only one line but there are some other lines match criteria but not copying to the files

2 Answers  


Difference Types of Procedures in VB?

3 Answers   JVS, Wipro,


How do I make a text box not beep but do something else when I hit the Enter key?

0 Answers  


Where can I get good up-to-date information about VB?

0 Answers  


Is there any Edit method in ADO Data Access method?

0 Answers  


Is it posible to Create Tables Through Querydef?

0 Answers  


Is there any way to pass a variable to a form apart from using global variables?

0 Answers  


Categories