Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Import Visio Diagrams (Read 1639 times)
fglazenburg
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Jul 1st, 2008
Import Visio Diagrams
Jul 28th, 2009 at 9:14am
Print Post  
Hey,

I would like to import Visio diagrams onto a Mindfusion Diagram. When I call the funciton ImportAllPages I get an XML exception "Data at the root level is invalid. Line 1, position 1.". I used 2002, 2003 and 2007 visio files as import files and I am using the FlowChart.NET 5.3.1 Trial Version binairies.

I use the following code to import a Visio diagram

private void button1_Click(object sender, EventArgs e)
{

try
{
vi.ImportAllPages("c:\\SampleChart.vsd", FlowChart);
}
catch (Exception ex) { }

FlowChartView.Refresh();
FlowChartView.Show();


}



Does anybody know what the problem might be.

Many thanks.

Regards,

Frank
  
Back to top
 
IP Logged
 
fglazenburg
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Jul 1st, 2008
Re: Import Visio Diagrams
Reply #1 - Jul 28th, 2009 at 9:40am
Print Post  
Found the solution. I was importing the vsd files instead of the vdx files.

Regards,


Frank
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Import Visio Diagrams
Reply #2 - Jul 28th, 2009 at 9:40am
Print Post  
Hi,

You can import only Visio XML Drawing (*.VDX) files. I think VSD is the Visio binary file format.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint