Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I get objectnames contained in an OCX
Message
From
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:
00146722
Views:
26
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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform