Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - LastErrorCode after SaveToFile
  FAQ FAQ  Forum Search   Register Register  Login Login

LastErrorCode after SaveToFile

 Post Reply Post Reply
Author
Message
luet View Drop Down
Team Player
Team Player
Avatar

Joined: 09 Aug 16
Location: Germany
Status: Offline
Points: 41
Post Options Post Options   Thanks (0) Thanks(0)   Quote luet Quote  Post ReplyReply Direct Link To This Post Topic: LastErrorCode after SaveToFile
    Posted: 16 Aug 16 at 9:09PM
When I open a PDF and it alters and then again wants to save under the same file name, it does not work if the file is opened by another program. Blocked.

lRet = QPdf.SaveToFile (filepath)

LRET = 0

But I can not QPdf.LastErrorCode query why I could not save the file?
QPdf.LastErrorCode = 0

How can I check the LastErrorCode at SaveToFile?
In other methods, it is nevertheless also.

thank you
luet
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 16 Aug 16 at 9:41PM
Hi Luet,

i've already told that it's better to read ;-)
I (and nobody here) wants to replace the developer guide or online reference with our personal asistance for you ;-)

Please use:
http://www.quickpdf.org/
Then click on "Documentation (Reference Guide)".
Then click on "search" in the menu at the top of the page.
In the search field you can insert "LastErrorCode".

Now you can see all possible error codes.
There's nothing regarding the save functionality.
So you can't use LastErrorCode after "SaveToFile".
But you already know that a returning value 0 means that the save failed - this should be enough i think.

Cheers,
Ingo

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store