Registry App Path Entry

The PDF-XChange Viewer for End Users
+++ FREE +++

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

reycbx
User
Posts: 1
Joined: Thu Sep 26, 2013 10:07 pm

Registry App Path Entry

Post by reycbx »

Howdy.
Have an Access application that uses the app path value for Acrobat Reader below. When I was looking for the same for PDF XchangeViewer I found there was no entry.

Reason is that I wanted to modify the VBA code such that if Acrobat Reader was not installed that it would look for PDF XChangeViewer as in the past I had installed both products onto the boxes (XP, Win7 32/64).

Presume it is not in the app paths location and I should look for Tracker Software under HKLM\Software.

Correct?

Thanks,
Rey

Code: Select all

(WSH.RegRead("HKLM\SOFTWARE\Microsoft\Windows\" & _
            "CurrentVersion\App Paths\AcroRd32.exe\")
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7445
Joined: Wed Mar 25, 2009 10:37 pm

Re: Registry App Path Entry

Post by Paul - PDF-XChange »

Hi

thanks for the post.

try using this for the Viewer:

Code: Select all

WSH.RegRead("HKLM\SOFTWARE\Tracker Software\PDFViewer\InstallPath") + "PDFXCview.exe"
and this for the Editor:

Code: Select all

WSH.RegRead("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\PDFXEdit.exe")
hth
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com