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 Zorder Method?

1 Answers  


by writing MACRO CODE,i want to retrive data from one spead sheet to another UI (workbook). control will search cell by cell for each row and load the data in another workbook(UI). ex: custdetails custname lastname locaton mobile pincode custdetails raj tony hyd 555555 521245 servcreqrd srvce# srvcename location srvcepincode servcreqrd 754 drilling hyd 521784 for the above example in the another workbook retrive data like this custname Raj srvce# 754 srvcepincode 521784. while retrieving data control will search cell by cell for each row.

0 Answers   Infotech,


What about DLL calls that require callbacks?

0 Answers  


Draw Sequence Modal of RDO? Explain.

0 Answers  


How do I create a new form in visual basic?

0 Answers  






How can objects on different threads communicate with one another?

2 Answers  


Explain the usage of Web Browser Control?

0 Answers  


What is Tabstrip control? What is the starting Index value? How to locate it?

1 Answers  


What is Vlookup introduction and formula?

2 Answers  


How would you add column headers in listview control?

1 Answers   Infosys,


How can we find out that a recordset is blank (without using recordcount property)?

4 Answers  


What are the Style Properties of Combo Box?

2 Answers  


Categories