Results 1 to 2 of 2

Thread: Wanted Clear Definitions Please....

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2001
    Location
    Erode,TamilNadu,India
    Posts
    10

    Cool Wanted Clear Definitions Please....

    Please help to guide the definitions for Module, Class, Property Procedure, Public and Private terms.

    Also why we have to use Sub in every Modules.

    Also please give us the URL for this.

    Regards
    Chandra Shekhar: Wanted Definitions Please...

  2. #2
    PowerPoster rjlohan's Avatar
    Join Date
    Sep 2001
    Location
    Sydney, Australia
    Posts
    3,205
    Module: Just a collection of code which can be accessed by all forms/modules in a project. Mainly good for functions used by different forms.

    Class: Well, that's an OO thing, and similar to a module, except that you would instantiate the class to run multiple instances of it. LEarn about OO (Java is a good start) for a good Class lesson.

    Property Procedure: If you don't know, then I'm not sure why you're asking, but a Property is just that. (Example - .Picture .Caption .Text etc.) If you were to make an .OCX you would need to add functions Property Let (to assign a value to a property) and Property Get (to retrieve it)

    Public: Means a variable/object/function/sub can be accessed by an entire program

    Private: Means a variable/object/function/sub can be accessed only by the form or module where it is held


    Sub Question: You don't. You can also use Function. Functions return values, subs don't


    URL: www.inmyhead.org.au



    -----------------------------------------
    -RJ
    [email protected]
    -----------------------------------------

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