Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 2005 > Pro Visual Basic 2005
|
Pro Visual Basic 2005 For advanced Visual Basic coders working in version 2005. Beginning-level questions will be redirected to other forums, including Beginning VB 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro Visual Basic 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 11th, 2006, 08:19 AM
Registered User
 
Join Date: Apr 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Custom Property to Visio 2003-Shape object ashu_from_india Pro VB 6 3 November 5th, 2008 04:21 AM
VS.Net 2002 Properties Tab Disappeared Marc VS.NET 2002/2003 4 August 4th, 2006 12:37 AM
Rotating shape in VBA (not center of shape) Piblon Excel VBA 3 April 13th, 2006 04:04 AM
How to create a custom window shape lotfi VS.NET 2002/2003 1 November 17th, 2003 08:13 AM
How to create a custom form shape lotfi BOOK: Professional C#, 2nd and 3rd Editions 0 November 15th, 2003 08:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.