Results 1 to 5 of 5

Thread: How to Create and use custom classes in VB 6.0?

  1. #1
    Join Date
    Apr 2009
    Posts
    487

    How to Create and use custom classes in VB 6.0?

    Hi friends,
    I have not done with many programs in VB 6. You can call me as an initiator. Before that I have done C++ and C# programming languages. I want to know about the custom classes. So please tell me how to Create and use custom classes in VB 6.0? Hoping that someone will help me soon.!!

  2. #2
    Join Date
    Aug 2006
    Posts
    227

    Re: How to Create and use custom classes in VB 6.0?

    Using custom classes will allow a significant time savings through reuse and code maintenance. In addition, custom classes allow the provision of complex objects to which programmers can "simply" to use the properties and methods that a custom class is available to them. Before doing this you must include knowledge and use of state variables and understand the concept of scope of use of a variable. You need to know to declare and use custom functions and procedures requiring the use of parameters.
    I do to dead flowers what people at morgues do to dead people. Suck all the moisture out, dip them in plastic, paint them up pretty and put them in a nice frame.

  3. #3
    Join Date
    Jul 2006
    Posts
    286

    Re: How to Create and use custom classes in VB 6.0?

    I am telling you the basic things to make you understand more properly. A computer object is similar to an object of everyday life, and we use daily in our VBA code. These objects have characteristics that are their own and we can act on or with these objects. The features of a computer are called object properties. The actions we can perform on or through these objects are called methods. When we want to use an object, we must know the properties of the object available to us, and we also know the methods used for this purpose.
    IF you hate me, please don't mention it. I know who hates me and who doesn't. You really do not have to make fun of people....

  4. #4
    Join Date
    Jul 2006
    Posts
    442

    Re: How to Create and use custom classes in VB 6.0?

    In VB6, we use all the time objects. All controls that we put on a form (which is itself an object) are objects. In VBA for Excel, we manipulate objects Range (cell range), Worksheet (spreadsheet), Workbook (workbook), ...whereas in VBA for Word, we manipulate objects Word Document ... In VB6 or VBA, sometimes we reference library of external objects, to manipulate individual objects. For example, using the Microsoft Scripting Runtime library to manipulate objects file, folder, ... not usable by default VB6 or VBA. The Object Browser allows explore objects, that is to say, to view the properties, methods and events.
    "When they give you ruled paper, write the other way..." J.R.J.

  5. #5
    Join Date
    May 2008
    Posts
    2,297

    Re: How to Create and use custom classes in VB 6.0?

    When you must use an "object" computer, there are three possibilities. The first is to create as many variables as properties. The second uses a custom type. The third group involves the use of a custom class. A variable type is a group of several variables simple type that reflects the new structure. A custom type will be created when necessary to manipulate several variables as if they were an entity. The use of custom type variables partially meet the objections made above regarding the use of simple variables.

Similar Threads

  1. Replies: 8
    Last Post: 06-05-2012, 12:21 PM
  2. I want to create a Custom Boot Disk
    By Zared in forum Operating Systems
    Replies: 5
    Last Post: 25-12-2010, 07:53 AM
  3. Replies: 4
    Last Post: 21-12-2010, 01:17 PM
  4. How to create the Classes in the C++
    By Garrick in forum Software Development
    Replies: 5
    Last Post: 02-03-2010, 07:09 PM
  5. How to create custom accelerator in XML
    By Broot in forum Software Development
    Replies: 3
    Last Post: 18-07-2009, 10:00 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,519,489.47982 seconds with 16 queries