这样一个问题,如何解决 信 誉 值: 46 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 private void Button1_Click(object sender, System.EventArgs e){try{Process pp1 = new Process(); pp1.StartInfo.WorkingDirectory = @"d:\abgif";pp1.StartInfo.FileName = @"d:\gif\ab.bat";//调用产生lap.gif图象文件pp1.StartInfo.Arguments = @"d:\gif\" + @"d:\gif"; pp1.StartInfo.UseShellExecute = false;pp1.StartInfo.RedirectStandardOutput = true;pp1.StartInfo.CreateNoWindow = true;pp1.Start ();pp1.WaitForExit(); }catch { }}这段程序可能有多个用户同时调用,但是只产生一个LAP.GIF图象文件.如何只让一个用户调用. winform中如何获得页面所有的右键菜单(ContextMenuStrip) GDI画线时去除y=0的点 也就是画不连接的线的问题 请问怎么实现 C#Windows Moible开发中分辨率问题 winform下listbox绑定datareader数据源的问题 如何从读取SQL数据库表中数据在EXCEL中显示 请教编程(用C语言或C++):表达式的求值 教我做一个简单的登陆 textbox限制输入的一些问题 C# 调用 打印设置 窗口 C#默认支持复数运算吗? 想深学UML网上现有的设计好的资料好少,想参考都没办法 visual studio 的版本
{
try
{
Process pp1 = new Process();
pp1.StartInfo.WorkingDirectory = @"d:\abgif";
pp1.StartInfo.FileName = @"d:\gif\ab.bat";//调用产生lap.gif图象文件
pp1.StartInfo.Arguments = @"d:\gif\" + @"d:\gif";
pp1.StartInfo.UseShellExecute = false;
pp1.StartInfo.RedirectStandardOutput = true;
pp1.StartInfo.CreateNoWindow = true;
pp1.Start ();
pp1.WaitForExit();
}
catch
{
}
}
这段程序可能有多个用户同时调用,但是只产生一个LAP.GIF图象文件.如何只让一个用户调用.