MaoBisheng

Asp.Net(C#) & SQL & Oracle
posts - 56, comments - 35, trackbacks - 2, articles - 0
  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理

C#启动应用程序命令

Posted on 2008-07-24 09:23 毛必盛 阅读(265) 评论(0)  编辑 收藏 网摘 所属分类: C#
    //打开IE浏览器
    void Button1Click(object sender, System.EventArgs e)
    
{
        Process.Start(
"IExplore.exe","http://www.baidu.com/");
    }


    
//打开资源管理器
    void Button2Click(object sender, System.EventArgs e)
    
{
        Process.Start(
"explorer.exe");
    }


    
//打开Excel
    void Button3Click(object sender, System.EventArgs e)
    
{
        Process.Start(
"EXCEL.exe");
    }


    
//打开Windows Media Player
    void Button4Click(object sender, System.EventArgs e)
    
{
        Process.Start(
"dvdplay.exe");
    }
发表评论

昵称: [登录] [注册]

主页:

邮箱:(仅博主可见)

评论内容:

  登录  注册

[使用Ctrl+Enter键快速提交评论]

0 1250188 UgHH+wKH7pw=



相关文章:

相关链接: