I am launching Reader 10.0 to send a PDF file to a printer from a C# program on a Win 7 system. Here's what I am doing now:
startInfo.FileName = adobeReaderPath;
string args = String.Format("/t \"{0}\" \"{1}\"", this.pdfFileName, this.printerName);
startInfo.Arguments = args;
startInfo.CreateNoWindow = true;
startInfo.ErrorDialog = false;
startInfo.UseShellExecute = false;
startInfo.WindowStyle = ProcessWindowStyle.Minimized;
Process process = Process.Start(startInfo);
I noticed that launching Reader like this (or from command prompt) actually starts 2 AcroRd32.exe executables. Neither of them is minimized. I also tried ProcessWindowStyle.Hidden with the same result.
Is there a way of forcing Reader to start minimized?
Thanks!