"James Barrass" wrote:
> I had a look this morning you might not need the sdk, have a look under
> tools>references and see if you have the adobe acrobat type library.
>
> All the references and code snippets i found for this were for Visual Studio
>
> Set PDFApp = CreateObject("AcroExch.App")
> created an error "ActiveX Componant can't create object"
>
> "urkec" wrote:
>
> > "James Barrass" wrote:
> >
> > > The Adobe SDK is free and Contains an AVDOC object representing a pdf document
> > > This has IsValid and Close which might be helpful in this case,
> > > Sorry I haven't tested this
> >
> > That would be the best way to do this, but I haven't be able to make it
> > work. I found some samples, but all for the full version of Acrobat, none of
> > them worked with Acrobat Reader, it seems they have different object model.
> > If you have any samples or links that would be great. I will also need to
> > check the Adobe site for the SDK.
> >
> > --
> > urkec
Problem is, I don't have the full version of Acrobat. I loaded acrord32.dll
into the object browser and tried creating Acrobat.AcroApp but no luck. I
also looked under HKEY_CLASSES_ROOT in the registry and there are several
AcroExch keys but not AcroExch.App. And, as you mention, all samples I could
find use that. All I could find was the information that Acrobat Reader
object model is different than Acrobat, nothing more. Too bad, it would be
nice to be able to automate working with pdf files.
--
urkec
|