Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get object names of application?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00705056
Message ID:
00705229
Vues:
16
Samuel,

>where 'Outlook' is the name of the application. But some object names do not use the
>same name as application, like 'OutlookExpress', It will be failed if I create object
>like this : oOutlookExp = CREATEOBJECT('OutlookExpress.Application')

Outlook Express does not have an OLE automation interface.

>So I just want to know where can I get the list of all validated object names.
>Within VFP or Windows registry ?

You can look at the items Something.Something in the registry under HKEY_CLASSES_ROOT The item will have a CLSID value under it. But you really need to look through the documentation on an automation client to find all of its PEMs and how to use it.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform