version of dplx file

version of dplx file

Forum member · Apr 4, 2011
Hello, I hope you can understand my (bad) english. Now my problem: when I open any dplx-file, this make sometimes exception, that version of dplx-file is not compatible. How can I automaticly convert the dplx-file to the current correct file format. Thanks Rene

Re: version of dplx file

Support · Apr 4, 2011
Hello Rene, Once you open the DPLX file in newer version of DynamicPDF Designer, you will be prompted to upgrade the version of DPLX file. Please follow the wizard to complete the upgrade process. This will allow using the DPLX files created with older versions of DynamicPDF Designer with the latest versions. Thanks, ceTe Software Support Team

Re: version of dplx file

Forum member · Apr 4, 2011
Thanks for your answer. But, how can I convert programmatically the dplx file. On my code open the file with DocumentLayout report = new DocumentLayout(dplxPath); and here fired the exception. Can I before create a new instance of DocumentLayout convert the dplx file? Thanks Rene

Re: version of dplx file

Support · Apr 4, 2011
Hello Rene, You cannot convert the DPLX file to the latest version through code. Only way to upgrade the DPLX file is by opening the DPLX file in latest version of DynamicPDF Designer and following the upgrade wizard. Thanks, ceTe Software Support Team

Re: version of dplx file

Forum member · Apr 4, 2011
Thanks for your answer. Because exists a chance before opening the file to determine whether the dplx file has been created with an earlier version? Thanks Rene

Re: version of dplx file

Support · Apr 4, 2011
Hello Rene, In order to determine the version of the dplx file please open the dplx file in notepad, you will find the version number in the document element. See the example string below for dplx file created in v6.0. <document xsi:schemaLocation="http://www.DynamicPDF.com http://www.DynamicPDF.com/schemas/DPLX60.xsd" version="6.0" id="Document1" author="" keywords="" title="" subject="" xmlns="http://www.DynamicPDF.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> Thanks, ceTe Software Support Team.