Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Level of exposure in ActiveX dll

Status
Not open for further replies.

Karl Blessing

Programmer
Feb 25, 2000
2,936
US
I tried Keyword Search (which brings nothing back at all on several queries) and FAQ.

What I am trying to figure out is how do you do something like.

Obj.Shape.Name.Type = "sometype"

having Obj.Shape is easy enough because you can have it exposed as a simple property, or function even. But where I get confused is when it goes a step beyound, where the ActiveX can actually tell the host what more to do, Like the example above.

For example I currently have this structure of class collection I Want to expose (all is there except "count" is what I'm hoping to add when exposed as a function to return back a count for the sub-collections) [code.cls, Shapes.cls, Subcode.cls and ShpHand.cls]


Code:
Shapes Collection
 -Name
 -Type
 -Description
 -Count (count of Codes)
 --Code Collection
   -Code
   -Codetype
   -Description
   -expanded
   -plotted
   -total
   -Count (count of SubCodes)
   --Subcode Collection
     -Code
     -Description
     -Plotted
     -Total

so I am hoping to be able to expost to the host something like

Obj.Shape("Name").Code(2).SubCode(3).Description

of an example of what I currently call multi-level exposure.

Anyone have any reference or help on this? Karl Blessing aka kb244{fastHACK}
kblogo.jpg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top