Results 1 to 5 of 5

Thread: object creation at runtime

  1. #1

    Thread Starter
    Hyperactive Member notquitehere188's Avatar
    Join Date
    Dec 2004
    Posts
    403

    object creation at runtime

    is there any way to create objects at runtime
    It's not just Good, It's Good enough!



    Spelling Eludes Me

  2. #2
    Frenzied Member pnish's Avatar
    Join Date
    Aug 2002
    Location
    Tassie, Oz
    Posts
    1,918

    Re: object creation at runtime

    You mean like this?
    VB Code:
    1. Dim objectvar As objecttype
    2. Set objectvar = New objecttype
    Pete

    No trees were harmed in the making of this post, however a large number of electrons were greatly inconvenienced.

  3. #3
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171

    Re: object creation at runtime



    Has someone helped you? Then you can Rate their helpful post.

  4. #4
    Addicted Member
    Join Date
    Nov 2004
    Posts
    171

    Re: object creation at runtime

    A full example of this would be:

    VB Code:
    1. Dim lblTest as Label
    2. Set lblTest = New Label
    3. lblTest.visible = True
    4. lblTest.autosize = True
    5. etc.

    You can also set up control arrays like that.
    Sherminator ~ I'll be back.

  5. #5
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: object creation at runtime

    Quote Originally Posted by notquitehere188
    is there any way to create objects at runtime
    What type of object are you looking to create? There different technics involved so you would have to be much more specific.

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