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