Stamps broken in case of RegFree

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

cew
User
Posts: 213
Joined: Tue Feb 01, 2011 8:14 am

Stamps broken in case of RegFree

Post by cew »

Hi,

we use the PDF-XChange viewer as regfree with the result, that the default stamps are not available and dynamic stamps do not work as expected.
This means, that the stamps just get the current date without formatting and the user info is not set.
It looks like that the javascript does not run or stops working ...

Code: Select all

event.value = (new Date()).toString(); 
AFDate_FormatEx("h:MM tt, mmm dd, yyyy"); 
event.value = "By " + ((!identity.name || identity.loginName != (event.source.source || this).Collab.user) ? (event.source.source || this).Collab.user : identity.name) + " at " + event.value;
Btw: Where are the default stamps located?

Best regards
cew
cew
User
Posts: 213
Joined: Tue Feb 01, 2011 8:14 am

Re: Stamps broken in case of RegFree

Post by cew »

:idea: I got it!!

The file "resource.dat" was missing!!

A hint would be nice :wink:

Best
cew
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: Stamps broken in case of RegFree

Post by Stefan - PDF-XChange »

Glad to hear you found the solution yourself cew.

And yes, you need the resource file just as the end user portable Viewer does when you are not using the registry :)

Cheers,
Stefan