Process p = new Process();
p.StartInfo.FileName ="control.exe";
p.StartInfo.Arguments = "date/time";
p.Start();
p.StartInfo.FileName ="control.exe";
p.StartInfo.Arguments = "date/time";
p.Start();
解决方案 »
- 关于安装vs2010+sql2008R2
- 用点击图片模拟数字数字,怎样让光标的位置放在最后输入数字的后面,就像正常的文本框一样
- 很郁闷的问题
- 请教一道有关系统资源的面试题
- 水晶报表做甘特图基本单位都是'天'怎么精确到秒?高手进 谢
- asp如何调用C#编写的DLL?
- 怎样用c#实现在发布应用程序时,将应用程序写到"开始"-"所有程序"里?
- 请问平常说的OA是什么类型的项目?属于winfrom还是webfrom的项目?
- c# 有没有C#可以调用的虚拟仪表控件?
- datagrid动态改变一行的背景色this.DataGrid1.Items[oldselectindex].backcolor=System.Drawing.Color.Red;为什么不工作啊?
- 如何安全中止 死循环 线程!
- [请教]怎样判断数据库的表中是否已经定义了主键?
System.Diagnostics.Process process=new System.Diagnostics.Process ();
process.StartInfo.FileName = fname;
process.StartInfo.CreateNoWindow = true;
process.StartInfo.WindowStyle = System.Diagnostics .ProcessWindowStyle.Hidden;
process.StartInfo.UseShellExecute = false;
process.StartInfo.RedirectStandardOutput = true;
process.Start();