Results 1 to 3 of 3

Thread: Create objects at runtime - Object names from file

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2002
    Posts
    1

    Question Create objects at runtime - Object names from file

    I am trying to create multiple user defined objects at runtime. I would like to use a configuration file to define the objects, thus allowing me to use the same application with different configuration files and have a different result for each. Can VB 6.0 create objects at runtime and use the text from a file as the object names?

    Please help!!!

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    You could late bind everything and use CreateObject to make the objects at runtime based on the config file, but programming for those objects without knowing want they are may be a bit troublesome.

  3. #3
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    Check out the CallByName() function.

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