Visual C # Express Edition - cannot get Acrobat PDF reader to work
I am trying to open a PDF document inside a C # application using Acrobat Inter Application Communication (IAC) in a Visual C # 2008 Express Edition project.
When I execute the following code, I get an exception:
CAcroPDDoc pdDoc = new AcroPDDocClass();
, COM- factory CLSID 80040154. winerror.h MSDN , .
regsvr32 Interop.Acrobat.dll, ( DllRegisterServer).
#, Acrobat 9 SDK (BasicIacCS - BasicIacCS.suo, # Express - , ).
- ? ( Windows/.NET)
- Visual Studio?
Looking further at the issue, the CLSID that is being complained about is available when I do the ILDASM of my application (.exe file) - this is the CLSID of the AcroPDDoc class I'm trying to access. This class and its associated CLSID are missing from the registry. I only have Acrobat reader installed - not full version. Is the full version of Acrobat required to access COM interfaces? (The system only has Acrord32.dll, not Acrobat.dll). I tried the same program on a different Vista machine and uninstalled / reinstalled the Arobat reader with the same result.