Check out this blog entry:
http://blogs.msdn.com/infopath/archive/2004/03/17/91313.aspx
>Is it possible to call infopath from code with an argument?
>
>Id like to pass in an XML document to use as a secondary datasource. It
>would also be fine to pass in the path of an xml file to set as a secondary
>data source as well.
Bob Chauvin ( Paix dehors ) - 27 Jan 2006 18:30 GMT
Pretty cool... That'll do.
> Check out this blog entry:
> http://blogs.msdn.com/infopath/archive/2004/03/17/91313.aspx
[quoted text clipped - 5 lines]
>>secondary
>>data source as well.