Saturday, February 22, 2014

Printing the pdf file using process.start print opens the pdf file

Hi,


It still open the document.


And one more thing


when I use




processInfo.UseShellExecute = false;
It give me the exception as
"The specified executable is not a valid Win32 application" .
So I have to remove the line



processInfo.UseShellExecute = false;
------------------------------------------
one more option is there
p2.StartInfo.RedirectStandardOutput = true;
but it need to UseShellExecute =false;
...







No comments:

Post a Comment