A
akjal
I want convert some Infopath forms to PDF through code.
For this i done like this .
1. Import Microsoft.Office. Interop.InfoPath.dll
2.Create an object of Import Microsoft.Office. Interop.InfoPath.Application
3.Go through a for loop to get one Infopath file at a time and
3.1 create a Xdocument object and assign each infopath form to this object
by using Xdocuments.Open(filename,...) method.
3.2 then use View.Export()
4.All works fine and conversion can be done successfully
The problem is each oinfopath form is opened and shown before it is getting
converted. This is an irritation if user selects many forms to convert. i
want to hide the Infoapth form and conversion should happen in hide state..
Is there any way...?
Thanks in advance
akjal
For this i done like this .
1. Import Microsoft.Office. Interop.InfoPath.dll
2.Create an object of Import Microsoft.Office. Interop.InfoPath.Application
3.Go through a for loop to get one Infopath file at a time and
3.1 create a Xdocument object and assign each infopath form to this object
by using Xdocuments.Open(filename,...) method.
3.2 then use View.Export()
4.All works fine and conversion can be done successfully
The problem is each oinfopath form is opened and shown before it is getting
converted. This is an irritation if user selects many forms to convert. i
want to hide the Infoapth form and conversion should happen in hide state..
Is there any way...?
Thanks in advance
akjal