Ask a Question related to Adobe Acrobat SDK, Design and Development.
-
S_Don_Walker@adobeforums.com #1
collab.showAnnotToolsWhenNoCollab = True Not Working in Acrobat 9
I have a VB6 program that uses AcroExch.AVDoc.OpenInWindowEx to open a PDF document in our small app (similar to the ActiveViewVB sample). For Acrobat versions 7 and 8 we were able to enable the editing of comments (annotations) by getting the JSObject and executing:
jso.collab.showAnnotToolsWhenNoCollab = True
as documented in the SDK topic "Acrobat Interapplication Communication > Developing Applications Using Interapplication Communication > Using OLE > Using the JSObject interface > Working with annotations".
In Acrobat 9 Pro running on WinXP SP3 when I single step that line in debug I go to the error handler for my Sub. Inspecting the VB Err object has Number = -2147417851 and Description = "Automation error
The server threw an exception." I get a Microsoft crash notice about Acrobat a short while later.
I've run a number of searches and haven't found any documentation indicating that you can't do this anymore. My app will be less useful if I can't do this. I've already logged this as a bug with Adobe but have no idea if they intend to fix it. Does anyone have any additional information or a work-around?
S_Don_Walker@adobeforums.com Guest
-
Problem filling forms in Acrobat 8, was working with Acrobat 7
I have written some code to fill in PDF forms from an other application. The code is working with Acrobat version 7. If I run the same code... -
#26232 [Bgs->Opn]: in_array produces true when bool true is in haystack
ID: 26232 Updated by: helly@php.net Reported By: me at my dot house -Status: Bogus +Status: Open... -
#26232 [Opn->Ver]: in_array produces true when bool true is in haystack
ID: 26232 Updated by: helly@php.net Reported By: me at my dot house -Status: Open +Status: Verified... -
Bulk email | local stmp collab with asp cdo and access 2000?
What are the technical challenges in getting a local SMTP email server set up on a win3k system or alternatively on a win2k pro local work... -
RedirectFromLoginPage(username, true) no working
Hi, I just wonder after calling the RedirectFromLoginPage function, my current page still stick to login.aspx fiile. Any clue?? Thanks -
PDL@adobeforums.com #2
Re: collab.showAnnotToolsWhenNoCollab = TrueNot Working in Acrobat 9
If you use the Acrobat AFORMAUTLib ExecuteThisJavascript this will work with Acrobat 9. Just make sure when using OpenInWindowEx that you use Lock and UnlockEx before executing the Javascript through the AFORMAUTLib.
PDL@adobeforums.com Guest
-
S_Don_Walker@adobeforums.com #3
Re: collab.showAnnotToolsWhenNoCollab = TrueNot Working in Acrobat 9
PDL, thanks a lot - it worked! All I had to do was add a reference to the "AFormAut 1.0 Type Library" and the following code:
Dim formApp As AFORMAUTLib.AFormApp
Set formApp = CreateObject("AFormAut.App")
formApp.Fields.ExecuteThisJavascript("Collab.showA nnotToolsWhenNoCollab = true;")
Adobe, while this is an acceptable workaround I still think that you should fix the JSObject problem.
S_Don_Walker@adobeforums.com Guest



Reply With Quote

