Dropping Shapes

J

JPabich

I am trying to drop shapes on to a drawing control after I set a
source. I want the source to be a basic background template that I
have created. I use the following to set the source:

hiddendc.Src = Path.Combine(Application.StartupPath + "\\Files",
"Template.vsd");

I then go and create my shape via a Stencil and try to drop it on the
hiddendc Drawing Control and I get an exception. Why can't I drop a
shape on top of this?

Thanks.
 
B

Bill Morein [MSFT]

This should work fine. Have you checked out the Office Plan sample in the
SDK for an example of how to do this? If that doesn't help paste the code
that you are working with into a message and we can try to help.
 
Top