Results 1 to 2 of 2

Thread: Class

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Location
    karachi
    Posts
    90

    Unhappy

    Hello,
    Can any one tell me how to
    create a simple class and
    how to call this class in programm


    Thanks

  2. #2
    Addicted Member
    Join Date
    Aug 1999
    Location
    Hamilton, New Zealand
    Posts
    137
    Add a class module to your program,

    Add some code to the module

    create a new instance of the class in your general (module / form) code.

    Code:
    Dim myClass as New class1
    Regards

    Matt Brown
    Hamilton, NZ
    VB6 C++ in Visual Studio 6sp4
    VB.net Beta 1

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