Torna al Thread

System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo(); startInfo.UseShellExecute = true; startInfo.Verb = "Printto"; startInfo.CreateNoWindow = true; startInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden; startInfo.FileName = path + "pdfdoc.pdf"; System.Diagnostics.Process p = new System.Diagnostics.Process(); p.StartInfo = startInfo; p.Start(); p.Close(); p.Dispose();
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5