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
How do I implement an accelerator key for a text box?
DHTML Is used for what?
Explain about the creation of EXE files with Visual Basic?
How do I call help files from a VB program?
What is executenonquery in vb net?
Timer control contains ________ no. of events.
Types of LockEdits in DAO?
What is data binding in vb net?
What is the difference between change event in normal combobox and dbcombobox?
Difference between DDE and OLE.
Is a foo VBX/DLL available as shareware/freeware?
How do I play MID, WAV or other multimedia files?
Difference between ActiveX Control and Standard Control.
What are the Differenct Types of Instancing Property in ActiveX Dll and Exe?
Explain the creation project schedule.