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 are the uses of List View Control?
How do I get the number of free bytes on a disk?
What is data control in vb?
DHTML Is used for what?
How would you create properties by using class Builder Wizard?
How would you access objects created in ActiveX Exe and ActiveX D1T ?
How would you run your ActiveX Document Dll?
How can you get selected file from file system Control?
Explain OLE Drag and Drop.
Draw Sequence Modal of DAO and Explain?
Difference between ActiveX Exe and Dll.
What is activex control in vb?
How can you check whether a record is valid record or Invalid record using ADO control or Object?
How can you check whether a record is valid record or Invalid record using ADO control or Object?
____ is the difference between Listindex and Tab index.