Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I get objectnames contained in an OCX
Message
 
À
14/10/1998 12:46:38
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00146710
Message ID:
00146743
Vues:
26
>>gr = createobject("MapObjects.GroupRenderer")

This is probably not a publicly createable class.

>John,
>Thanks for speedy reply. It's an .OCX (mo10.ocx). ie: I can do this :
vmr = createobject("MapObjects.ValueMapRenderer")
>* But next one complains class definition
>* MapObjects.GroupRenderer not found
>*!*	gr = createobject("MapObjects.GroupRenderer")
I tried word and class browser to no avail. TIA.
>Cetin
>
>
>
>>You mean 30 other classes....???
>>
>>And, do you mean ActiveX DLL???
>>
>>If so, I would open up Word or VB - set a reference in the Project to your type library - and use the object browser to see what class defintions exist. Also, be sure that the class you are attempting to instance is indeed marked OLEPUBLIC. Otherwise, it will not have a public interface.
>>
>>
>>>I have an activex control that contains about 30 other objects. One of them should be "GroupRenderer" but whenever I try to createobject() it, I get class definition ... not found. How could I check if its name is misspelled in help file. MTIA.
>>>Cetin
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform