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 ...