Hi, firends:
I had a problem,when I want to implement a function that enable me to batch print infopath XML files in my own app ,and my code likes this [Delphi]:
App:= CreateOleObject('InfoPath.Application'); // line 1
App.XDocuments.Open ('C:\Form2.xml') ;// line 2
App.XDocuments.Item(0).PrintOut ;//line 3
The line :App.XDocuments.Open ('C:\Form2.xml') will show a infopath form fill window,and i only want that the infopath run in the backgound,and do not show any it's windows.
How can i make it?
Thanks every much!
(I am sorry for that my English is so poor~~~)