s += "<p style=\"text-align: left;\"><a href=\"javascript:window.print()\">PRINT</a></p>";
System.IO.File.WriteAllText(@"CheckForm.html", s);
System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo();
startInfo.FileName = "explorer.exe";
startInfo.Arguments = "CheckForm.html";
System.Diagnostics.Process.Start(startInfo);
当我尝试在 Windows 7 中打开我的 C# Windows 应用程序时遇到问题,否则没有问题。
我无法使用上述代码在 Windows 7 中打开 explorer.exe。
有什么建议么?