Visio 2003 SDK Error:

R

RJ

Hi,
I am using the Visio 2003 SDK to draw an organisation chart from within a
Windows Forms application written in Visual Studio 2008, C#.Net.

As soon as I try to drop the first shape, I get the follow error message. If
I click OK, it goes away and completes my drawing without any side effects.

"Active document should have the "Organisation Chart" template open for this
operation.

I do have the Organisation Chart template open at the time but I am still
getting this meessage? How can I get rid of it? Please help.

Kind reagards,
RJ
 
P

Paul Herber

Hi,
I am using the Visio 2003 SDK to draw an organisation chart from within a
Windows Forms application written in Visual Studio 2008, C#.Net.

As soon as I try to drop the first shape, I get the follow error message. If
I click OK, it goes away and completes my drawing without any side effects.

"Active document should have the "Organisation Chart" template open for this
operation.

I do have the Organisation Chart template open at the time but I am still
getting this meessage? How can I get rid of it? Please help.

Are you really sure the template is open? Does your code open the
template? Is there sufficient time between opening the template and
you dropping your first shape? Remember, opening the org chart
template also has to load the org chart add on, are you allowing Visio
to do that?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top