Instantiation by stream problem on PRO Edition

Technical support for Spire.Doc

Moderator: iceblue support

Instantiation by stream problem on PRO Edition

Postby nunojesus » Mon Jul 04, 2011 9:22 pm

Hi,
I've tested standard edition in may application and every thing went ok. But I will need to convert from doc to pdf so I installed PRO Edition to test it, but in document instantiation by stream I get an error.

System.IO.MemoryStream st = new System.IO.MemoryStream(Document.Template.File.Data);
Spire.Doc.Document doc = new Spire.Doc.Document(st, FileFormat.Docx);

This code with standard edition was ok, but with PRO Edition i get the error: "The file format cannot be supported."

Can you help me with this?

Best regards,

Nuno Jesus
nunojesus
 
Posts: 3
Joined: Thu Jun 30, 2011 2:28 pm

Re: Instantiation by stream problem on PRO Edition

Postby nunojesus » Mon Jul 04, 2011 9:31 pm

I forgot to say that my document is from office 2010.
I also tested docx2010 fileformat that was not present in standard edition but i get the same error.
Spire.Doc.Document doc = new Spire.Doc.Document(st, FileFormat.Docx2010);
nunojesus
 
Posts: 3
Joined: Thu Jun 30, 2011 2:28 pm

Re: Instantiation by stream problem on PRO Edition

Postby Justin Weng » Tue Jul 05, 2011 8:43 am

Dear nunojesus,
Thanks for your inquiry.
Please download a latast version which fixed this problem.http://www.e-iceblue.com/Download/download-word-for-net-now.html
Justin
Technical Support / Developer,
e-iceblue Support Team
User avatar
Justin Weng
 
Posts: 110
Joined: Mon Mar 28, 2011 5:54 am


Return to Spire.Doc

Who is online

Users browsing this forum: No registered users and 0 guests