Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report to PDF - again
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00746280
Message ID:
00746675
Vues:
27
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform