Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object reference from string name
Message
 
To
02/04/2001 10:01:30
Shane Gilbert
Oklahoma State Department of Education
Norman, Oklahoma, United States
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00490913
Message ID:
00490982
Views:
8
>I need to figure out how to get an object reference from a string name. I have a function that takes a string parameter, which is the name of an object. I want to be apple to reference that object and call one of it's methods. Any suggestions?

You can use CreateObject to create an instance of an object from a string.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Reply
Map
View

Click here to load this message in the networking platform