I'm designing a form using LiveCycle Designer 8. The form has a javascript variable ("jsMain") with several functions specific to the document.
I am hosting the form using VB6 and have successfully created several OLE AcroEx.xxx interfaces, including the jsObject. It also can use some folder level scripts.
The problem I'm having is getting my VB6 application run the script function in my document variable script "jsMain.function()".
Any ideas no how to do this?
Thanks.
Anyway, have you tried disclosing the document? Are you accessing the the "jsMain" variable through "xfa.form"? Can you post the form somewhere we could take a look at it?
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script