Open Excel from C# as an idependent process
System.Diagnostics.Process excel = new System.Diagnostics.Process(); excel.StartInfo.FileName = "excel.exe"; //Open as readonly excel.StartInfo.Arguments = string.Format("/r \"{0}\"",@"c:\temp\test.xls"); excel.Start();
Comments
Post a Comment