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 tell when an application executed using the SHELL command is finished?
Is there a way to break long lines in VB code?
When/Why should I use Option Explicit?
I get a "file not found" error on the IIF function when I distribute by program. Why?
It possible to call OLEDB's Features directly in VB without using any control?
What's the difference between MODAL and MODELESS forms?
what are the Types of cursors in RDO?
What is data control in vb?
How would you add elements in TreevieW Control.
How would you use ActiveX Dll and ActiveX Exe in your application?
How would you run your ActiveX Document Dll?
What is vbs file?
Why can't I use an index with my VB accessed database?
what are the types of LockEdits in DAO?
Is it possible to Manipulate data through flexgrid? Explain.