Here is what I did and found,
1. Opened PDF-XChange PDF Viewer v2.5 and customized tool buttons on the toolbar
2. Exported all settings to a data file (PDFSettings.dat)
3. Called the functions of LoadSettings(‘PDFSettings.dat’) and SetDevInfo(‘ProductKey’, ‘DevCode’) of the PDF-XChange ActiveX when I opened a PDF document in the activex. At this point, the toolbar is the same as what I set in PDF-XChange Viewer. (This is what I want.)
4. Registered PDFXCviewIEPlugin.dll
5. Programming to open a PDF document in a Webbrowser. The PDF was opened in a WebBrowser, but the toolbar is the default, not as what I set in PDF-XChange Viewer.
For step #5, is there any way to load the custom settings file, PDFSettings.dat, and set the dev information when I program to open a PDF document in IE browser?
Question about PDFXCviewIEPlugin.dll
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- Site Admin
- Posts: 2445
- Joined: Thu Jun 30, 2005 4:11 pm
Re: Question about PDFXCviewIEPlugin.dll
Hi Yi.
Because PDFXCviewIEPlugin.dll isn’t a SDK component but end-user’s and it stores all own settings in registry location:
HKEY_CURRENT_USER\Software\Tracker Software\PDFViewer.IBrowser
You may programmatically update data in this location by:
variant srcPath = “…\PDFSettings.dat”
pdfViewerCtl.LoadSettings(srcPath);
variant destPath = “HKEY_CURRENT_USER\Software\Tracker Software\PDFViewer.IBrowser”;
pdfViewerCtl.SaveSettings(destPath);
HTH
Because PDFXCviewIEPlugin.dll isn’t a SDK component but end-user’s and it stores all own settings in registry location:
HKEY_CURRENT_USER\Software\Tracker Software\PDFViewer.IBrowser
You may programmatically update data in this location by:
variant srcPath = “…\PDFSettings.dat”
pdfViewerCtl.LoadSettings(srcPath);
variant destPath = “HKEY_CURRENT_USER\Software\Tracker Software\PDFViewer.IBrowser”;
pdfViewerCtl.SaveSettings(destPath);
HTH
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.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 6
- Joined: Fri Jan 30, 2015 9:59 pm
Re: Question about PDFXCviewIEPlugin.dll
Hi Vasyl,
I tried it as what you posted, but unfortunately nothing changed.
Please advise.
Thanks.
I tried it as what you posted, but unfortunately nothing changed.
Please advise.
Thanks.
-
- Site Admin
- Posts: 2445
- Joined: Thu Jun 30, 2005 4:11 pm
Re: Question about PDFXCviewIEPlugin.dll
Try to create PDFSettings.dat by pdfViewerCtl, not by EU-program. It works for me:
1. start our PDF-XChange Viewer Control Demo
2. customize toolbars layout
3. save all settings to .dat file
4. restart this example app again (optional step)
5. load all settings from previously created .dat file
6. save all settings into HKEY_CURRENT_USER\Software\Tracker Software\PDFViewer.IBrowser location
7. start IE. The screenshot:

HTH.
1. start our PDF-XChange Viewer Control Demo
2. customize toolbars layout
3. save all settings to .dat file
4. restart this example app again (optional step)
5. load all settings from previously created .dat file
6. save all settings into HKEY_CURRENT_USER\Software\Tracker Software\PDFViewer.IBrowser location
7. start IE. The screenshot:

HTH.
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.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.