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 |
How do I get the number of free bytes on a disk?
What is the difference between modal and modaless form in VB?
How many max. number of controls can place in one form (especially visual basic form)?
What is instantiating?
Types of LockEdits in RDO.
How do I mimic a toggle button?
Explain about literals?
What is the difference between c++ and visual basic?
Which method is used to write context Into file?
How can you Navigate from the DHTML application to another DHTML application? .
How would you add elements and pictures to listitems in listview control?
How would you add column headers in listview control?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)