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 |
Is there any way to pass a variable to a form apart from using global variables?
I want to develop a stand alone application which can communicate with the existing applications in the system. On which this application should be based on: Standard Exe, Active-X Exe, Active-X Dll.
What is vbs file?
Is it possible to change menu runtime using API? If yes? Specify the function names.
what is the difference between vb and vb.net
How would you create Visual basic Document file?
How many objects resides in ADO ?
Default cursor Type and LockEdit type in DAO?
Which tool is used to configure the port range and protocols for DCOM communications?
Explain the "cursortype" and "Locktype" in VB?
What was introduced to Visual Basic to allow the use of Callback Functions?
How do you avoid the "Invalid use of null" error when reading null values from a database?
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)