Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report to PDF - again
Message
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00746280
Message ID:
00746517
Views:
23
Nadya,

I've PDFWriter 5.0 installed on my PC and there is PDFWriter item with value 1 under HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat\5.0\Uninstall registry key. I think you can check for it to determine if PDFWriter 5.0 is installed. Using Rick's registry class
#DEFINE HKEY_LOCAL_MACHINE  2147483646
oReg = NEWOBJECT("Registry", "Registry.prg")
lcRegKey = "SOFTWARE\Adobe\Acrobat\5.0\Uninstall"
lnValue = oReg.ReadRegistryInt(HKEY_LOCAL_MACHINE,lcRegKey, "PDFWriter")
IF NOT ISNULL(lnValue) AND lnValue = 1
   * PDFWriter 5.0 is installed
ELSE
   * Assume that PDFWriter 4.0 is installed
ENDIF
>Hi everybody,
>
>Most computers in our office have Adobe Acrobat Writer 4 installed. My manager's computer has Adobe 5. I was trying to use wwPDF class from west-wind.com wwPDF50 doesn't work on my machine (with Adobe 4 installed) and wwPDF40 refers to IsWinNT function, which is not included into the wwPDF archive. In any case, I need to know, which Adobe version is installed to use the correct class.
>
>What can you suggest in this situation? Any other simple solutions, which would not require a 3rd party product?
>
>Thanks a lot in advance.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform