Click to See Complete Forum and Search --> : Create objects at runtime - Object names from file
INH
Jun 11th, 2002, 11:53 AM
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!!!
Edneeis
Jun 11th, 2002, 11:56 AM
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.
Lethal
Jun 11th, 2002, 05:24 PM
Check out the CallByName() function.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.