Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic FlowChart.net export to visio (Read 3270 times)
cb
Guest


FlowChart.net export to visio
Jul 7th, 2006 at 1:08pm
Print Post  
Hi, I'm evaluating FlowChart.net and wanted to try out the export to visio feature. I recently downloaded the 4.1 trial
I added the VisioExport.dll to my references,
however, the below code gives me an error saying that the export method only supports accepting FlowChartX as a reference and not a FlowChart.
MindFusion.Diagramming.Export.VisioExporter ve= new MindFusion.Diagramming.Export.VisioExporter();
ve.Export(fc,"c:\\Temp\\dependency.vdx");

Do I have the wrong dll?

Thank you,

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: FlowChart.net export to visio
Reply #1 - Jul 7th, 2006 at 1:38pm
Print Post  
Do you use the FlowChart class from webchart.dll ?

VisioExporter accepts only a reference to the Windows Form control - "MindFusion.FlowChartX.FlowChart". It will not work with the FlowChart class defined in the webchart.dll. You can still try that by loading the webchart contents into a MindFusion.FlowChartX.FlowChart object, e.g.

MindFusion.FlowChartX.FlowChart winfc = new MindFusion.FlowChartX.FlowChart();
winfc.LoadFromString(webfc.SaveToString());
ve.Export(winfc,"c:\\Temp\\dependency.vdx");

Our developers are now working on a real Web Forms flowchart control, all the exporters will have web forms versions too when we release it.

Stoyan
  
Back to top
 
IP Logged
 
link
Guest


Re: FlowChart.net export to visio
Reply #2 - Aug 15th, 2006 at 12:41am
Print Post  
Dear Stoyo

I did as you said, but the program didn't export vdx file and there is no excerption. Did i forgot something?

MindFusion.Diagramming.Export.VisioExporter ve = new MindFusion.Diagramming.Export.VisioExporter();
MindFusion.FlowChartX.FlowChart winfc = new MindFusion.FlowChartX.FlowChart();
winfc.LoadFromString(ViewState["originFC"].ToString());
ve.Export(winfc,"C:");
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: FlowChart.net export to visio
Reply #3 - Aug 15th, 2006 at 5:21am
Print Post  
Hi,

Set the ve.TemplatePath property so that it specifies the full path to the "VisioExport.vxt" file. The second argument to the Export method must be the full path to the exported Visio file; just "C:" won't work.

Stoyan
  
Back to top
 
IP Logged
 
song
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: Aug 9th, 2007
Re: FlowChart.net export to visio
Reply #4 - Aug 9th, 2007 at 5:20pm
Print Post  
will I get class already exists exception using this method? when will you release the version 5?


Stoyo wrote on Jul 7th, 2006 at 1:38pm:
Do you use the FlowChart class from webchart.dll ?

VisioExporter accepts only a reference to the Windows Form control - "MindFusion.FlowChartX.FlowChart". It will not work with the FlowChart class defined in the webchart.dll. You can still try that by loading the webchart contents into a MindFusion.FlowChartX.FlowChart object, e.g.

MindFusion.FlowChartX.FlowChart winfc = new MindFusion.FlowChartX.FlowChart();
winfc.LoadFromString(webfc.SaveToString());
ve.Export(winfc,"c:\\Temp\\dependency.vdx");

Our developers are now working on a real Web Forms flowchart control, all the exporters will have web forms versions too when we release it.

Stoyan

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: FlowChart.net export to visio
Reply #5 - Aug 10th, 2007 at 5:10am
Print Post  
"Class already exists" exceptions were thrown when using Windows Forms controls in ASP.NET 1.0. That's supposedly fixed in ASP.NET 1.1. We are just releasing version 5, it should be available in a few days.

Stoyan
  
Back to top
 
IP Logged
 
song
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: Aug 9th, 2007
Re: FlowChart.net export to visio
Reply #6 - Aug 10th, 2007 at 9:01am
Print Post  
I am using asp.net 1.1, the error will show up from time to time. I have tested your version 5, it works fine. I think I am going to use the version 5 in my project, when can I purchase it? I need it quite urgently.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: FlowChart.net export to visio
Reply #7 - Aug 10th, 2007 at 9:42am
Print Post  
Ok, maybe that has been fixed in ASP.NET 2 and not ASP.NET 1.1.

We are just completing the help file updates and will hopefully release version 5 next week.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint