Results 1 to 2 of 2

Thread: modules and class modules??????

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2000
    Posts
    81

    Post

    whast is the meaning of a class module compared to a normal module??????????
    please help me understand

  2. #2
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    461

    Post

    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
  •  



Click Here to Expand Forum to Full Width