Excellent point, Ed,
Rick
>>Sounds like you need to use protect any properties or methods you do not want to visible.
>>
>>DEFINE CLASS MyCOMObject AS LINE OLEPUBLIC
>>PROTECTED Height, Width, ....
>>ENDDEFINE
>>
>
>Actually, better HIDDEN than PROTECTED for the public properties, methods and events that should not be presented (HIDDEN items will not be presented to subclasses of a class with HIDDEN items), and add
>
>NODEFAULT
>*
>
>to the public events and methods which should not fire when triggered, especially using a UI thing like a Line for the base class.
>
>>>Dear all,
>>>
>>>I have a multi-use com dll and installed in Win2k MTS(Com+). The problem is that I am seeing a lot of other methods appearing like Controls, Datasession, name and whole host of them. I build my class using code (not class library) and insert it in the project file (this is the only file). The wierd thing is that two project dlls shows different extra methods.
>>>
>>>FYI, the class I build is very simple. One class with one method only.
>>>Where did I go wrong? Thanks.
>>>
>>>
>>>Regards,
>>>Kueh