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 OLEDB?
What are the types of line styles available in Treeview Control?
What do you know about chaining views.
How can Visual Basic be used for server-side scripting?
Explain about literals?
How can you get selected file from file system Control?
which property is used to change to some value to access a identity column in datacontrols?
How can you filter out specific type of file using file system controls?
How do I dial a phone number without using the MSCOMM VBX?
What do you mean by Databound Controls Explain?
Why API functions are Required?
Scope of API's can be of types, what are they?
Is visual basic still used?
What is the difference between change event in normal combobox and dbcombobox?
What is shortcut menu and explain "The ole control's shortcut menu".