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 - EmbeddedFileCount and RemoveEmbeddedFile
  FAQ FAQ  Forum Search   Register Register  Login Login

EmbeddedFileCount and RemoveEmbeddedFile

 Post Reply Post Reply
Author
Message
Nate View Drop Down
Beginner
Beginner


Joined: 26 Jul 11
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nate Quote  Post ReplyReply Direct Link To This Post Topic: EmbeddedFileCount and RemoveEmbeddedFile
    Posted: 26 Jul 11 at 3:26PM
In VB6, I am trying to remove file attachments from a pdf with existing attachments.  When I call EmbeddedFileCount, it will always return a 0 result.  Thus, I can't use RemoveEmbeddedFile for the range of attached files.  Is this a known issue, or is there something that needs to be called/initialized before attempting to get the filecount besides opening the file?  I have pasted just a simple portion of the project below:

Dim QP
Set QP = CreateObject(ClassName)
QP.LoadFromFile (InFileName)

ret = QP.EmbeddedFileCount() ' Returns 0 currently
ret = QP.RemoveEmbeddedFile(0) ' Returns 0 because it sees no attachment in FileCount




Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 28 Jul 11 at 1:25PM
The customer has reported back that this is now working.

It could be that the call to QP.UnlockKey() is missing.

Andrew.
Back to Top
juan View Drop Down
Beginner
Beginner
Avatar

Joined: 13 Sep 18
Location: santa fe
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote juan Quote  Post ReplyReply Direct Link To This Post Posted: 13 Sep 18 at 3:09PM
The problem still persists, EmbeddedFileCount does not work correctly, it is always 0.
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