Using Visio, there are two ways (at least) to insert a picture *into* a shape. One is to use the Insert > Picture menu. The other is to right-click on a shape (in this case, an org chart shape) and select "Insert Picture...". This way is much better because it puts the picture inside the shape and doesn't need to be resized or anything. They don't work the same way.
I need to know how to access this special context menu/option in VBA. The standard function (eg: objCurrentShape.Import "C:\pics\picture.jpg") is not sufficient as the pictures don't move or resize with their shape.
Has anyone got any potential solutions to this? Even code to call a right-click event on a shape would help, or how to resize an image and make it stay next to its shape the way that option 2 does.
The problem is the same in Visio 2007 and 2003; I have both installed.