Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to find out the COM object name
Message
 
 
À
01/06/2003 22:05:03
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00795045
Message ID:
00795060
Vues:
13
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform