Adobe PDF Reader

Started by velasquez · 2009-05-24 14:23 UTC · 3 replies · SMF topic #767

Does anybody have some example of how to work with Adobe PDF Reader with OpenDCL? 
Could help me? 
How does to verify ActiveX exist or not?

Thanks
Attachments
Hi,

try a


(defun acrobat_is_installed (/ strCLSID strFile)
  (and (vl-registry-descendents "HKEY_CLASSES_ROOT\\AcroPDF.PDF")
      (setq strCLSID (vl-registry-read "HKEY_CLASSES_ROOT\\AcroPDF.PDF\\CLSID"))
      (setq strFile (vl-registry-read (strcat "HKEY_CLASSES_ROOT\\CLSID\\" strCLSID "\\InprocServer32")))
      (findfile strFile))
); acrobat_is_installed

(if (acrobat_is_installed) (do_something))



Fred
You should be able to use (dcl_AxControl_GetAxObject) at runtime to determine whether the control loaded successfully.
Thank you very much.