Missing icons for 'Sticky Notes Tool' and 'Stamp Tool'

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

vzgherea
User
Posts: 23
Joined: Mon Sep 09, 2013 8:38 am

Missing icons for 'Sticky Notes Tool' and 'Stamp Tool'

Post by vzgherea »

For unknown reason on some of our machines icons for 'Sticky Notes Tool' and 'Stamp Tool' are missing (see attached image). Machines are clean (no viewer or SDK is installed). The only files deployed to the client's machine are :

1. PDFXCview.exe
2. PDFXCviewAx.dll
3. pxcview.dll
4. resource.dat

viewer control is registered by running "regsvr32 PDFXCviewAx.dll" from cmd. Everything except this icons works as expected.

Any idea on how to fix this issue?

Thank you.
You do not have the required permissions to view the files attached to this post.
Last edited by vzgherea on Tue Nov 12, 2013 4:12 pm, edited 1 time in total.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: Missing icons for 'Sticky Notes Tool' and 'Stamp Tool'

Post by Stefan - PDF-XChange »

Hello vzgherea,

Are you loading a custom profile as well when the Viewer is actually launched? If you do - then please check that profile as most likely the two said toolbar icons were modified in that profile.

Regards,
Stefan
vzgherea
User
Posts: 23
Joined: Mon Sep 09, 2013 8:38 am

Re: Missing icons for 'Sticky Notes Tool' and 'Stamp Tool'

Post by vzgherea »

Hi Stefan,
Yes, we do load a custom profile. We received it as a '.dat' file from our customer. So, you think it is damaged? How could we generate our own profile?

Thank you.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: Missing icons for 'Sticky Notes Tool' and 'Stamp Tool'

Post by Stefan - PDF-XChange »

Hi vzgherea,

Not necessarily damaged - just that these toolbar icons have been turned off in that profile.
You can create your own by lanching an instance of the end user Viewer, and making all the necessary changes you want (e.g. turn off some toolbars, modify others etc...) and then use the Edit -> Export All settings to data file option.
Then use the same LoadSettings() method with your own file.

Regards,
Stefan
vzgherea
User
Posts: 23
Joined: Mon Sep 09, 2013 8:38 am

Re: Missing icons for 'Sticky Notes Tool' and 'Stamp Tool'

Post by vzgherea »

Hi Stefan,

the problem is not in loading custom profile. As you can see from the attached image in my first post the 'Stamp tool' functionality is available, only icon is missing. This can not be done by exporting/loading settings to/from a file.
Also we noticed that problem disappears once PDF-XChange Viewer is installed on machine with such issue.
So we suppose that some resources are missing when our application is deployed (see list of files from my first post).

Could you check this?
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: Missing icons for 'Sticky Notes Tool' and 'Stamp Tool'

Post by Stefan - PDF-XChange »

Hello vzgherea,

Actually toolbar customizations (which can include removing a specific toolbar icon from a toolbar and leaving the rest of the icons in that toolbar intact) is certainyl influenced by and stored in such settings files. Did you try to import a custom settings file exported from an instance of the Viewer where those tools are visible?

Also - you need to supply all those files:
https://help.pdf-xchange.com/DEV/de ... butioninfo
and it seems like you are supplying them all.
However are you correctly registering the files after deployment?
https://help.pdf-xchange.com/DEV/de ... controlreg

Regards,
Stefan
vzgherea
User
Posts: 23
Joined: Mon Sep 09, 2013 8:38 am

Re: Missing icons for 'Sticky Notes Tool' and 'Stamp Tool'

Post by vzgherea »

All the files are supplied and registration is performed as described on the pages that you provided.

I replaced loading custom profile by following code :
axCoPDFXCview1.SetProperty("View.Bars[\"CommentAndMarkup\"].Visible", 1);

and got the same result - 2 icons are missing. So, problem is not in loading custom profile.

Testing on a 32bit machine where PDF-XChange Viewer is manually installed.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: Missing icons for 'Sticky Notes Tool' and 'Stamp Tool'

Post by Stefan - PDF-XChange »

Hello vzgherea,

Does the problem manifest itself if you do NOT load the custom profile?

Also - you can load the custom profile in an end user version of the Viewer as well - and check if doing so will hide the two buttons in question.

Regards,
Stefan
vzgherea
User
Posts: 23
Joined: Mon Sep 09, 2013 8:38 am

Re: Missing icons for 'Sticky Notes Tool' and 'Stamp Tool'

Post by vzgherea »

Tracker Supp-Stefan wrote: Does the problem manifest itself if you do NOT load the custom profile?
Yes, I modified application and custom profile is not loaded anymore.
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: Missing icons for 'Sticky Notes Tool' and 'Stamp Tool'

Post by Vasyl - PDF-XChange »

Hi, vzgherea.
I replaced loading custom profile by following code :
axCoPDFXCview1.SetProperty("View.Bars[\"CommentAndMarkup\"].Visible", 1);

and got the same result - 2 icons are missing. So, problem is not in loading custom profile.
The reason for problem with stamp icon - may be you have not any stamps? Please copy the entire 'Stamps' folder from installed end-user's PDF-Viewer into the your folder which already contains the 'PDFXCview.exe' file.

About problem with icon for StickyNote Tool - unfortunately but we have no idea what is reason of it because we couldn't reproduce it.. :|
Do you have the same problem with our end-user app?
Also you may prepare for us the virtual machine with reproducible the issue. Then we could download this VM and investigate here locally. VM engine might be VMware, VirtualBox or MS Virtual PC.

Thanks.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
vzgherea
User
Posts: 23
Joined: Mon Sep 09, 2013 8:38 am

Re: Missing icons for 'Sticky Notes Tool' and 'Stamp Tool'

Post by vzgherea »

Hello,

we found out the cause of the problem. It was totally our fault. During deployment viewer control was registering incorrectly and the active one was missing resource.dat file. Now we fixed our deployment and problem has gone.

Thank you for helping us.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: Missing icons for 'Sticky Notes Tool' and 'Stamp Tool'

Post by Stefan - PDF-XChange »

Glad all is now resolved vzgherea :)

Cheers,
Stefan