Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find out the COM object name
Message
 
 
To
01/06/2003 22:05:03
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00795045
Message ID:
00795060
Views:
14
Bernard,

Yes, select OLEContainer from the controls toolbar, drop it on a form then pick the control, then look at the result OLEClass. But you are right that's only going to do visual controls. CDP doesn't work that way.

You can also browse the registry. They all exist as entries under the HKEY_CLASSES_ROOT item. Skip past all of the file extension entries and there you'll find the COM objects.

As far as finding out the CDO.Message is in fact what you want to use is only going to come from the CDO documentation. There is a Wiki article that lists some of the more popular automation objects.

>By "Drop one of them on a form" do you mean add it as an OLE using the OLE container or just use file manager to drag and drop?
>
>Also I always thought that only ACTIVEX (OCX) COM's could be added this way.
>
>For instance, will this work with the CDO object I mentioned in my post?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform