Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object reference from string name
Message
 
À
02/04/2001 10:01:30
Shane Gilbert
Oklahoma State Department of Education
Norman, Oklahoma, États-Unis
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00490913
Message ID:
00490982
Vues:
9
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform