what is differece b/w Module and class Modules in vb6?
thanks
Answer Posted / kumari santosh
Module
Code in VB is stored in modules.
Thereare three kind of modules, Class modules, Form modules
and Stendard modules.
In VB there are common codes we want to execute in several
forms. We do not want to duplicate the code in all forms,
we create a separate module containing the procedure that
implements the common code. This separate module should be
Standard module.
Class Module
Class modules (.CLS extension) are foundation of object
oriented programming in VB. We can write code in class
modules to create new objects. These new objects can
include our own customiaed properties and methods, although
custom objects can not have their own events.
We can also use the keyword, New to create multiple copies
of our objects.
Is This Answer Correct ? | 87 Yes | 8 No |
Post New Answer View All Answers
What is the use of ActiveX Documents?
What is meant by Establish Connection in RDO?
Explain the differences between ActiveX Dll and ActiveX Exe?
Difference between Linked Object and Embedded Object?
How can you check whether a record is valid record or Invalid record using ADO control or Object?
How would you attach an ActiveX control in Your Application?
What is the use of Visual Basic Document file?
Explain Types of DBCombo boxes?
What is visual basic used for?
How to get freefile location in memory?
What are 3 main differences between flexgrid control and dbgrid control?
What are the types of line styles available in Treeview Control?
which property of menu cannot be set at run time.
To.set the command button for ESC ___ Property has to be changed.
How would you add elements in TreevieW Control.