Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I get objectnames contained in an OCX
Message
 
 
To
14/10/1998 12:46:38
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00146710
Message ID:
00146743
Views:
25
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform