Anyone have any ideas on how to intercept an event on a COM object from VBScript in Infopath?
For instance, say I Create a new XDocument from the Application.XDocuments.NewFromSolution() function, now I'd like to receive events (like the OnSubmitRequest) in my script and react to it.
I know I can put script in the form that I'm launching, but I want to intercept the event from the original (starting, or master) form.
I've dug up info on ConnectObject and GetRef() as possibilities, but no joy so far.
Anyone ever done something like this (even if it's in jscript?)
Thanks
Darin