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
Is it possible to change menu runtime using API? If yes Specify the function names?
How would you create Visual basic Document file?
What language does visual basic use?
what controls have you used in your project?
Explain about control properties?
Write the Steps in Creating an ActiveX Control?
What is the difference between change event in normal combobox and dbcombobox?
Give brief description about class?
Differentiate between DAO,ADO and Adodc as in data access objects?
How would you create properties by using class Builder Wizard?
Draw Sequence Modal of RDO and Explain?
VB ActiveX: Create a "drivelist"(D1) box, a "folderlistbox"(FLD1) that changes whenever D1 is changed , and a "FilelistBox"(FIL1) that is populated with the file lists under the selected directory in (D1).The file selected is stored in a variable "filename" along with the path. Question: How to use this activeX control in VC++ to get the selected filename?
It is possible to access Text (x.txt) files? Explain.
1.What are the Feactures visual data manager 2.Short note on visual data manager 3.What is data control,its work,properties,methods 4.Needs for OLEDB in vb 5.LIst steps involved in generating christal report 6.What is a recordset 7.Diffrence between RDO and ADO 8.What is an Activex control 9.Advantages of ADO over data control 10.Diffrence between model and modeless form 11.What is the significance of debug window 12.Diffrence between single document and multiple document 13.Explain data report
what are the types of cursors in DAO?