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

How to use advanced data-bound controls.

1 Answers  


What is the use of Active Control Property?

1 Answers  


How would you navigate between one document to another document in Internet Explorer ?

1 Answers  


What is the difference between a Dynaset and Snapshot and how would you create one?

2 Answers  


Is it possible to set a shortcut key for label?

1 Answers  


Give brief description about class?

1 Answers  


How can you save and Get data from Clipboard?

1 Answers  


Default cursor Type and LockEdit type in DAO?

1 Answers  


What is ActiveX Explain?

2 Answers   SDS,


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.

1 Answers   Infotech,


Can you create a tabletype of recordset in Jet connected ODBC dbengine.

1 Answers  


What is the difference between COM and DCOM?

9 Answers   7 Seas, American Infoserv, Microsoft, SRMSCET,


Categories