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:
00746675
Views:
26
It will wrongly return "wwPDF50", because I've Adobe 5.0 installed. However, I don't have PDFWriter 5.0 installed. I don't think UNINSTALL registry entry is relable either.

>Nope. Here's my code:
>
>&& Updated:NN: 01/28/03 - check, which ADOBE Acrobat version is installed - relies on registry
>			#include registry.h
>			local oRegistry, lnVals, lcClass
>			oRegistry= newobject("Registry","Registry.prg")
>			dimension taVals[1,2]
>			lnVals=oRegistry.GetEnumKeys(@taVals,HKEY_LOCAL_MACHINE, ;
>				"Software\Adobe\Acrobat Distiller")
>
>			do case
>			case ascan(taVals,"5.0") > 0 && Adobe 5 presents
>				lcClass = "wwPDF50"
>			case ascan(taVals,"4.0") > 0 && Adobe 4 presents
>				lcClass = "wwPDF40"
>			otherwise && No Adobe Distiller
>				lcClass = ""
>			endcase
>
>
>>On my PC at work I've Acrobat 5.0 and PDFWriter 4.0 installed. Your check certenly will fail in this case.
>>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform