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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by provider?

1649


What is the use of Visual Basic Document file?

2133


When/Why should I use Option Explicit?

1221


How would you add elements and pictures to listitems in listview control?

1792


What is the default workspace?

1858


How would you create Visual basic Document file?

1610


Which property of textbox cannot be changed at runtime. What is the max size of textbox?

757


___,_____ and ____ container objects.

1360


What is the default workspace?

1703


what are the different Types of Recordsets.

1826


Types of LockEdits in RDO.

1887


What is a thread pool and how are the threads within a thread pool managed?

1807


To populate a single column value which dbcontrols you to use?

1772


What is the use of progress Bar Control?

1712


How can I change the printer Windows uses in code without using the print common dialog? How can I change orientation?

1268