Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get object names of application?
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00705056
Message ID:
00707788
Views:
25
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform