Hi there!
I am building fdf files and i need to print them out.
The problem is that in order to print them i have to executeacrobat reader.
I am fine with it, but the problem is that i cannot hide thereader application, it always stays in the bottom bar.
The code i'm doing is the following:
string f_fdf = @"C:\PROJECTSdotNET\PDF_XML_PDF\PDFtoXML\chus.fdf" ;
Process p = new Process();
p.StartInfo.Arguments = " /h ";
p.StartInfo.FileName = f_fdf;
p.StartInfo.Verb = "Print";
p.StartInfo.CreateNoWindow = true;
p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
p.Start();
The result is the same if I take out the "Arguments bit", or the"CreatenoWindow" or even the "windowstyle". Has anyone got anyidea why that is happening? Because everywhere the solutions isalways "CreateNoWindow=true" but it's not working to me. Isbecause of Acrobat reader?
I am using Windows XP.
Thank you very much in advance.
Chus
--------------------------------
From: Chus Chuscazo
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>hWoPj/k8WU+6Z8CNQm7Qwg==</Id>