首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > ASP >

asp.net 访问 exe资料的方法

2012-08-22 
asp.net 访问 exe文件的方法public void CallSteven(string strFileName){System.Diagnostics.Process prc

asp.net 访问 exe文件的方法

public void CallSteven(string strFileName)        {            System.Diagnostics.Process prc = new System.Diagnostics.Process();            try            {                prc.StartInfo.FileName = strFileName;                prc.Start();            }            catch (Exception exU)            {                if (!prc.HasExited)                {                    prc.Close();                }                throw new Exception(exU.Message.ToString());            }        }

?

热点排行