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
Can you create a tabletype of recordset in Jet - connected ODBC dbengine?
what is the control used to call a windows application.
What are the Differenct Types of Instancing Property in ActiveX Dll and Exe?
Explain the differences between ActiveX Dll and ActiveX Exe?
How do I make a text box not beep but do something else when I hit the Enter key?
What is meant by building a recordset.
Through which protocol OLEDB components are interfaced?
What are forms in visual basic?
What is executenonquery in vb net?
How do I prevent multiple instances of my program?
what are the Parts of ODBC?
What type of databases you can access through ADO Data Access Object?
What are the scope of the class?
What is the Windows API?
How many ways you can access file using VB?