Populate custom properties of shape in Visio 2002
Basicly, I'm working on a program that, when executed, launches visio and adds a bunch of shapes and dynamic connections between them based on data from a database.
Each shape, when added, has several default custom properties associated to that shape. For example, were you to add a hub from the basic network units stencil to a page in Visio, and then to select that shape, you'd see the list of custom properties and their values.
What I'd like to be able to do is to populate some of those custom properties with data from my database. I realize that the Visio 2002 SDK has some examples, but I don't understand them well enough to apply them.
Once I've defined and dropped a shape to my visio page, how do I access that shape's custom properties, and add a value to that custom property?