AxPDFedit error

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
visual approvals
User
Posts: 33
Joined: Wed Jul 10, 2013 6:29 pm

AxPDFedit error

Post by visual approvals »

Hi Guys
We recently removed all traces of a previous installs of the tracker sdk in favor o f the latest release 9.4.364
Unfortunately Im not able to edit or view any of the forms in the full demo sample (c#)
I get the following error
image.png
Please note that the Pdf ctl appears to be referenced as does the AxPDFXEdit
image(1).png
image(1).png (10.71 KiB) Viewed 988 times
The odd bit that puzzles me is that the application will run??

Are you able to shed any light on the steps I may be missing
User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 2352
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: AxPDFedit error

Post by Vasyl-Tracker Dev Team »

Please try:

1. re-register the Editor's ActiveX:
regsvr32 <EditorSdkFolder>\PDFXEditCore.x86.dll
regsvr32 <EditorSdkFolder>\PDFXEditCore.x64.dll

2. then rebuild your project...
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
visual approvals
User
Posts: 33
Joined: Wed Jul 10, 2013 6:29 pm

Re: AxPDFedit error

Post by visual approvals »

Thanks :D
Unfortunately no joy
Both dll's registered correctly on my system

windows 10 64
VS 2022 17.3.5

Tracker sdk 9.4.329

Could you please point me to where there is an explanation about the steps to add the "PDF-XChange Editor ActiveX Control" to a form

From my understanding I would normally go to the toolbox and add an item , in this case a COM Component
image.png
Select it and hit ok

The component will become available in the toolbox eg: ( i have just appended it to telerik group...should not make a difference)
image(1).png
image(1).png (6.33 KiB) Viewed 977 times
Then I just drag it to the form surface....however in the case of the full demo I get the following
image(2).png
Which is not to say that this error occurs on a blank project where the above procedure works...
(The reason im asking to confirm these details is that I have to modify a project originally designed by Alex for us) and want to checkout the new fulldemo
image(3).png
visual approvals
User
Posts: 33
Joined: Wed Jul 10, 2013 6:29 pm

Re: AxPDFedit error

Post by visual approvals »

PS Just noticed that the full demo is in a directory which requires elevated privilege's which my copy of VS was not running under.
The issue is resolved once I moved the Full demo to a "safe" dir

Not with standing have could you please confirm that I have followed the correct steps on how to add a Tracker Control to a form

The reason I ask is that in our project we are experiencing some difficulties and I want to make sure that we explore all options before sending them to you guys :)
User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 2352
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: AxPDFedit error

Post by Vasyl-Tracker Dev Team »

Hi,

The issue with FormDesigner is known and rare, but at the moment we cannot say exactly what causes this, unfortunately. As a kind of treatment for this: in VisualStudio you may change the Platform, for example from x64 to x86 and vice versa, and then reopen the solution. Often this problem is just gone after that. Seems there is a bug inside VS, but we cannot prove it at the moment.

We'll try to shed some light on it soon...
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
visual approvals
User
Posts: 33
Joined: Wed Jul 10, 2013 6:29 pm

Re: AxPDFedit error

Post by visual approvals »

Thanks, Vasyl

Alex said much the same thing some time ago. Just forgot what to do

Notwithstanding i have a ticket which I sent directly to support regarding a different issue...
Catastrophic Error when saving a document after any PDF document has been opened and saved Once.
Im sweating on a response from you guys, hopefully its a simple solution....

Regards

Andre
User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 2352
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: AxPDFedit error

Post by Vasyl-Tracker Dev Team »

Hi Andre.

Sorry for the delay with this... Anyway, according to the "Catastrophic Error when saving a document" - we have received your sample project and see that problem is because you initialize/shutdown the main IPXV_Inst-object multiple times, while only one time is supported. You need to change your code to call PXV_Inst.Intialize and PXV_Inst.Shutdown only once per runtime (our support will send the fixed code back to you soon).

Cheers.
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
visual approvals
User
Posts: 33
Joined: Wed Jul 10, 2013 6:29 pm

Re: AxPDFedit error

Post by visual approvals »

Hello Vasyl
much appreciated...ill look forward to revieing it
Cheers
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17820
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

AxPDFedit error

Post by Tracker Supp-Stefan »

:)
visual approvals
User
Posts: 33
Joined: Wed Jul 10, 2013 6:29 pm

Re: AxPDFedit error

Post by visual approvals »

Hi Guys
Just returned from a holiday and was hoping to see some code examples to address the issue discussed.
Can I offer a gentle reminder :-)

many Thanks

Andre
visual approvals
User
Posts: 33
Joined: Wed Jul 10, 2013 6:29 pm

Re: AxPDFedit error

Post by visual approvals »

Hi Guys
Just found an email with some code changes
Many Thanks
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8436
Joined: Wed Jan 03, 2018 6:52 pm

Re: AxPDFedit error

Post by TrackerSupp-Daniel »

Hello, visual approvals

Glad to hear it, do let us know if they help!

Kind regards,
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Post Reply