Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking the existence MS word for using OLE
Message
De
02/11/1998 17:50:34
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00153327
Message ID:
00153735
Vues:
23
>Unless the created instance of the COM Server will stick around - reading the registry is the way to go!! CreateObject will work, but it is slow - especially since the the object instance gets destroyed anyway.
>


I'm not sure I understand. CREATEOBJECT is slow, but only if it succeeds. If you attempt to instanciate a server type that doesn't exist, CREATEOBJECT is fairly fast in returning an error.

>BTW, have you checked out the Windows Scripting Host yet for reading the registry???
>

No, I have a registry class that I have been using for a long time now, and haven't had a reason to look elsewhere. What is special about wsh?
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform