R
RichardAtRVC
2 Infopath Documents
Document A has a print function.
When you click "Print" it actually prints out a Document B and then closes
document B.
I can get this to partially work.
When include the line to close Document B the document just doesn't print.
Does anyone know a way around this?
Here's the code.
thisApplication.XDocuments.NewFromSolution("c:\\temp\\manifest.xsf");
thisApplication.XDocuments[1].PrintOut();
thisApplication.XDocuments.Close(1);
Document A has a print function.
When you click "Print" it actually prints out a Document B and then closes
document B.
I can get this to partially work.
When include the line to close Document B the document just doesn't print.
Does anyone know a way around this?
Here's the code.
thisApplication.XDocuments.NewFromSolution("c:\\temp\\manifest.xsf");
thisApplication.XDocuments[1].PrintOut();
thisApplication.XDocuments.Close(1);