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:
00707788
Vues:
26
Ideally, these should be documented by the vendor of the application but that isn't always the case. And not all applications expose themselves as automation servers, either. (Outlook Express doesn't.)

Look in the registry in HKEY_CLASSES_ROOT. That's where you'll find the class names listed. Just note that being listed there is no guarantee they are createable objects. They may be listed there for some other purpose in the Windows ooze.

Dan

all the object names of application? such as :
>oOutlook = CREATEOBJECT('Outlook.Application')
>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')
>So I just want to know where can I get the list of all validated object names.
>Within VFP or Windows registry ?
>Thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform