Author | Topic: Opening PDF Files Using Newer Versions Of Adobe | |
---|---|---|
Scott Krise | Opening PDF Files Using Newer Versions Of Adobe on Thu, 12 Dec 2013 09:30:49 -0500 Hello, I have an option in my software to open pdf files using xpbActiveXControl. When I do this on computers with newer versions of adobe, it gives an error and will not open them. The error is an internal software message im producing when and error occurs when creating the control. I have been using the class id of "{CA8A9780-280D-A24D-444553540000}". Although this class id is somewhat of a blackbox for me, Im assuming that I might need a different code for newer versions of adobe? Can someone assist? Thanks, Scott | |
Jonathan Leeming | Re: Opening PDF Files Using Newer Versions Of Adobe on Mon, 13 Jan 2014 21:31:33 -0700 Hi Scott, I'm not sure if I understand you correctly but to open an Adobe PDF using the installed Acrobat Reader I just use: RunShell( "/C START EXPLORER.EXE "+cPathFile ) Where cPathFile is the file with path that I want to open... eg: c:\somefolder\file.pdf Hope this helps... works for Word as well as Excel files. Regards... Jonathan "Scott Krise" <scottkrise@verizon.net> wrote in message news:33123f12$2599ed19$12a34@news.alaska-software.com... > Hello, > > I have an option in my software to open pdf files using > xpbActiveXControl. When I do this on computers with newer versions of > adobe, it gives an error and will not open them. The error is an internal > software message im producing when and error occurs when creating the > control. > > I have been using the class id of "{CA8A9780-280D-A24D-444553540000}". > Although this class id is somewhat of a blackbox for me, Im assuming that > I might need a different code for newer versions of adobe? > > Can someone assist? > > Thanks, > > Scott > > > | |
Chris Chambers | Re: Opening PDF Files Using Newer Versions Of Adobe on Thu, 23 Jan 2014 05:19:51 -0800 Hi Scott Try this "{CA8A9780-280D-11CF-A24D-444553540000}", it works for me. Regards Chris On Mon, 13 Jan 2014 21:31:33 -0700, Jonathan Leeming wrote: >Hi Scott, > >I'm not sure if I understand you correctly but to open an Adobe PDF using >the installed Acrobat Reader I just use: > >RunShell( "/C START EXPLORER.EXE "+cPathFile ) > >Where cPathFile is the file with path that I want to open... eg: >c:\somefolder\file.pdf > >Hope this helps... works for Word as well as Excel files. > >Regards... Jonathan > >"Scott Krise" <scottkrise@verizon.net> wrote in message >news:33123f12$2599ed19$12a34@news.alaska-software.com... >> Hello, >> >> I have an option in my software to open pdf files using >> xpbActiveXControl. When I do this on computers with newer versions of >> adobe, it gives an error and will not open them. The error is an internal >> software message im producing when and error occurs when creating the >> control. >> >> I have been using the class id of "{CA8A9780-280D-A24D-444553540000}". >> Although this class id is somewhat of a blackbox for me, Im assuming that >> I might need a different code for newer versions of adobe? >> >> Can someone assist? >> >> Thanks, >> >> Scott >> >> >> > | |
Pascal Boivin | Re: Opening PDF Files Using Newer Versions Of Adobe on Thu, 23 Jan 2014 15:01:48 +0100 Hi I never tried that, but I beleive you can find the class ID by doing a few reading in the registry. On my system, I see this: HKEY_CLASSES_ROOT\.pdf -> AcroExch.Document.11 HKEY_CLASSES_ROOT\AcroExch.Document.11\CLSID -> {B801CA65-A1FC-11D0-85AD-444553540000} You can verify on a system with an old Adobe if the class ID match {CA8A9780-280D-A24D-444553540000}. |