Infopath Event Help

J

JoeAtPMHCC

Is there anyway (simplest the better) to capture an Infopath event from a
windows form. My app launches IP from a basic windows form and I would like
to use much of the data and other elements withing my main program to perform
the IP summit and perhaps other functions. FYI one submit for current forsm
would be a simple write back to our SQL database. A second submit should
simply write XML. If anyone can help I'd much appreciate it.
 
B

Brian Teutsch [MSFT]

You won't be able to capture the InfoPath events - On*Change, OnSave,
OnSubmit, etc. You can call the InfoPath object model from an external
application, which might help you take the data from your main WinForm, and
populate the InfoPath DOM. Within the InfoPath form you can then have
multiple types of data connections to perform submit operations.

Brian
 
Top