>>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