|
-
Mar 7th, 2000, 05:49 AM
#1
Thread Starter
Lively Member
whast is the meaning of a class module compared to a normal module??????????
please help me understand
-
Mar 7th, 2000, 06:28 AM
#2
Hyperactive Member
Johnny...
Easiest way to explain is this :
Module - A generic piece of code that ALL forms in a project can use if you use "public" to declare them
Class Module - A "blueprint" for an OBJECT.
Do some reading on OOP (Object Oriented Programming) And read up on what a Class is... The "Class Module" is therefor the way in which you define that class.
If you want to write your own object (ie Dim vVariable as MyObject) then use the Class Module... but if you just want to write a function that is used by several forms use a standard Module
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|