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


Please Help Members By Posting Answers For Below Questions

What is the use of property page Wizard in ActiveX Control?

2003


Binary Access-method isused to access file in which manner?

1423


What is form in visual basic?

533


What is the use of Visual Basic Document file?

1483


Draw Sequence Modal of DAO? Explain.

1707






How do I implement an incremental search in list/dir/combo/file boxes?

1000


Draw Sequence Modal of RDO? Explain.

1624


Explain the working with task in Gantt chart view.

562


How do I use GetPrivateProfileString to read from INI files?

1001


How would you attach pictures in Treeview Control?

1552


What are the tools in visual basic?

515


Differentiate between DAO,ADO and Adodc as in data access objects?

6337


State about the different types of visual basic data?

556


What are the Internet tools available in VB6.0?

2091


advantage and disadvantage in visual-basic and ms-access please tell me or send my mail-id

2668