Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is differece b/w Module and class Modules in vb6?
thanks

Answers were Sorted based on User's Feedback



what is differece b/w Module and class Modules in vb6? thanks..

Answer / 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

what is differece b/w Module and class Modules in vb6? thanks..

Answer / anonymous

standard module:

1)place for variable declarations,procedures etc.and we can
access these procedures wherever needed in the project.

2)Available only for the existing modules where they are
used.

class module:

1)Unlike standard module,members of class like object's
properties,events can be accessed only whenever an instance
of class is created.

2)We can make use of it whenever an object reference of the
particular class is created for number of applications

Is This Answer Correct ?    67 Yes 16 No

what is differece b/w Module and class Modules in vb6? thanks..

Answer / srivathsa pv

one more important difference between a class module and a
basic module is the extension. for basic modules the
extension is .BAS and for class modules the extension is .CLS

Is This Answer Correct ?    27 Yes 4 No

what is differece b/w Module and class Modules in vb6? thanks..

Answer / jerald

class module
It is a user defined datatype.
It have datamembers(methods and variables).
It can be accesed by creating the instance called
object if the class is not static. If the class is static
then it can be acessed using classname.datamember when
datamember is public.
Protected datamember can be accesed only by the first
inherited class.
Private datamember can be accesed only inside the main
class.

Is This Answer Correct ?    12 Yes 25 No

Post New Answer

More Visual Basic Interview Questions

Difference between Recordset and Resultsets.

0 Answers  


Can we change back color of command button control? if yes than how it is possible?

4 Answers   Wipro,


what is the Difference between Recordset and Querydef?

0 Answers  


What are the Style properties of List Box?

2 Answers  


What is the statement to extract 4 characters from the middle of a string?

1 Answers  


What is frx?

3 Answers   Cap Gemini,


Difference between DDE and OLE.

0 Answers  


_____ collection in recordset used to assign a value from textbox to table columns without making abinding in datacontrol.

0 Answers  


what is the difference between ADO and RDO in vb

3 Answers  


What is RDO?

1 Answers  


Through which protocol OLEDB components are interfaced?

0 Answers  


If we can make more than one MDI Form in VB then How? I need to make 2 MDI Forms in my project.

2 Answers   HST, Infosys,


Categories