Any Adobe Developers?

I recently developed a program that took a PDF form (state required) and populated the fields and emailed the form. The problem has arisen that it works in Adobe Acrobat up until version 7.0.In 7.0 Professional, it fails.

Snippet of code is:

Dim AcroApp As Variant

Dim AVDoc As Variant

Dim AcroPDDoc As Variant

Set AcroApp = CreateObject "AcroExch.App")

Set AVDoc = CreateObject("AcroExch.AVDoc")

AcroApp.Show	



AVDoc.Open filename,""

Set AcroForm = CreateObject("AFormAut.App")

Set AcroFields = AcroForm.Fields

Set AVDoc = AcroApp.GetActiveDoc

Set AcroPDDoc = AVDoc.GetPDDoc

     ....go thru selected docs and set AcroFields.item values

     ....

     ....clean up and close AcroExch objects

It is failing when I call Set AcroFields = AcroForm.Fields in 7.0 (but not in other versions)

My questions are: Is this command not included in the AcroForm.api for version 7.0?

and will getting the sdk kit fix it?

Never done anything with AcroExch before so I am very new and hate to tell this client to purchase the sdk kit if it will not fix the problem.

ANY help is appreciated. I have already search the web, but most sites require you already have the developer license to post a question. Thank goodness we still have a forum that’s free!

Subject: Any Adobe Developers?

Not an Adobe developer, but is there any chance you can see the OLE properties in the Notes designer? Usually when you install stuff that supports OLE, you at least get an object browser so you can see properties and methods.

Any luck at the regular Adobe forums (user to user)? I find they’re kind of spotty, but they are (were anyway) free.

For a file format that is supposed to be universal, it seems to me that every time Adobe changes versions, something breaks.

Best of luck and wish I could offer more.

Doug

Subject: Any Adobe Developers? - Resolution found

The resolution was to update the Adobe Reader to 7.0 The user still had 6.0 Reader. The second change I had to make was to the line Set AcroPDDoc = AVDoc.GetPDDoc

changed to:

Set AcroPDDoc = AVDoc.GetPDDoc()

I only saw an example of using the parenthesis on one knowledge base search in adobe, but it seemed to resolve the issue in 7.0