Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic LoadFromString exception (Read 2728 times)
matt.s
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 56
Joined: Apr 3rd, 2008
LoadFromString exception
Jul 7th, 2009 at 9:07am
Print Post  
Hi,

I'm hoping to change to the CompressedXml format when saving/loading diagrams.

However when I save and then load I get the following error;

FileLoadException: Unsupported file format

The code I am using to save is;

Code
Select All
string s = this.SaveToString(SaveToStringFormat.CompressedXml, false);
this.LoadFromString(s); 



I am using version 2.0.0.22575 of the diagramming dll.

Thanks for in advance for any help you can give
Matt
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: LoadFromString exception
Reply #1 - Jul 7th, 2009 at 10:15am
Print Post  
Hi,

I think the SavetoString enum members were there for some time, but we have implemented CompressedXml just recently and removed the Base16/Base64 formats. Could you try that with the latest build:
https://mindfusion.eu/_beta/wpfdiag_pdftest.zip

Stoyan
  
Back to top
 
IP Logged
 
matt.s
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 56
Joined: Apr 3rd, 2008
Re: LoadFromString exception
Reply #2 - Jul 7th, 2009 at 11:18am
Print Post  
Hi Stoyan,

Thanks for the quick reply.  This version appears to make it work.

I notice from the designer that this is a beta version - is there a previous non-beta version that has this fix?

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: LoadFromString exception
Reply #3 - Jul 7th, 2009 at 2:39pm
Print Post  
Hi Matt,

There isn't a previous version that has it. We should release version 2.2 tomorrow or on Thursday.

Stoyan
  
Back to top
 
IP Logged
 
matt.s
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 56
Joined: Apr 3rd, 2008
Re: LoadFromString exception
Reply #4 - Jul 7th, 2009 at 2:46pm
Print Post  
Thanks Stoyan,

One last thing - does our license allow us to upgrade to the version free of charge?

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: LoadFromString exception
Reply #5 - Jul 7th, 2009 at 3:09pm
Print Post  
Yes, it does.

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