How do i close a file opened with OpenEX

The PDF Creator enables you to create secure PDF documents and to view, print and process existing PDF documents.
If you have any questions about the installation and usage of the PDF Creator please post them here.
Post Reply
MarkusBantel
Posts: 15
Joined: Mon Oct 07 2002
Contact:

How do i close a file opened with OpenEX

Post by MarkusBantel »

Hello, we tried to open a PDF with openex. After examining the document we want to move it. But it is still in use. How can i close a document ?

I work with VB.NET and tried to set the object to nothing but even that doesn't work.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

You can save the document using the save command than move it.

If this didn't help you may need to distroy the object instance you are using to open the document.

Happy Holidays !
MarkusBantel
Posts: 15
Joined: Mon Oct 07 2002
Contact:

Save the file takes time.

Post by MarkusBantel »

Saving the file would take some time, so the best would be simply to close the file. I tried to destroy the object by setting to nothing, but with DOT.NET the garbage collection could be later so the encapsulated com object is destry at a later moment (i think) so the file isn't freed. What about a simple close or reset function ?
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Please send your suggestion along with reasons why using the save option or destroying the object is not helpful under DOT.NET to Support@amyuni.com. We will check if there is any other solution and if not we will check with our Project Manager the feasibility of adding a close method.

Thanks.
Post Reply