Handling events on objects - InfoPath Dev
in

InfoPath Dev

Handling events on objects

Last post 05-03-2005 05:50 AM by Agni Jonnalagadda. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-20-2005 08:18 AM

    • Darin
    • Not Ranked
    • Joined on 04-15-2005
    • Posts 3

    Handling events on objects

    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
  • 05-03-2005 05:50 AM In reply to

    Re: Handling events on objects

    Sorry for being late but I dont think we can really intercept the events of the Child form in the Master Form, after you start another form it exists on its own and cannot talk to its parent.

    Agni
    InfoPathDev India
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.