Is it possible to embed InfoPath 2007 control/forms within an MFC/C++
application? Ideally, we want to create forms using InfoPath, along
with rules to validate the data. We then want to embed (and distribute)
these forms within our application to present to the end user. Also,
our app would need to access to the form data. Does anyone have any
source code showing how this is done (in C++, prefabably compatible
with Visual C++ 6.0), as I've found very little developer information
on InfoPath 2007?
I know this is possible with other office applications, such as Word
and Excel via MFC using classes such as COleDocument,
COleDocObjectItem, etc.
Any suggestions, code, references would be extremely helpful.
thanks in advance.
David Dean - 10 Dec 2006 22:26 GMT
The following MSDN article titled "Hosting the InfoPath 2007 Form Editing
Environment in a Custom Windows Form Application" should answer most of your
questions.
http://msdn2.microsoft.com/en-us/library/aa701079.aspx
The only caveat with this approach is that your application's users must
install InfoPath 2007 on their workstations.

Signature
David Dean
Sr. Member Technical Staff
Insource Technology Corp.
> Is it possible to embed InfoPath 2007 control/forms within an MFC/C++
> application? Ideally, we want to create forms using InfoPath, along
[quoted text clipped - 12 lines]
>
> thanks in advance.