deepgrewal22
Instructor
- May 2, 2005
- 108
I would like to gain access to the application object for Acrobat. I have a custom Acrobat form (pdf) which I would like to access a menu item from via VB.NET. The form will be deployed on multiple PCs which may have various versions of Acrobat installed. Therefore, the code must not be version specific. I am using the code below, but it is not functioning properly. I am unable to access the menu item which has been defined as, and is indeed named, "AttachCameraFiles" (in the underlying JAVA script).
Any suggestions would be greatly appreciated, as usual. Thanx.
Deep Grewal
"Microsoft Works" - oxymoron
Code:
Dim acrobat As Object
acrobat = CreateObject("AcroExch.App")
acrobat.MenuItemExecute("AttachCameraFiles")
System.Runtime.InteropServices.Marshal.ReleaseComObject(acrobat)
Any suggestions would be greatly appreciated, as usual. Thanx.
Deep Grewal
"Microsoft Works" - oxymoron