Process p = null; try { p = new Process(); p.StartInfo.FileName = "C:\\Test.txt"; p.StartInfo.Verb = "Print"; p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; p.StartInfo.UseShellExecute = true; p.Start(); p.WaitForExit(); } catch { MessageBox.Show(e.ToString()); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)