zoukankan      html  css  js  c++  java
  • WinCE 6.0 打开文件目录(C#)

    手头上的项目遇到要在WinCE上层软件中打开文件夹目录的需求,在网上查了一些资料,初步确定使用Process类,经过试验,下述方法成功实现,没有抛出异常。

    通过msdn帮助文档可知,Process的Start方法在wince下只支持3种重载,如下图

    private void btnCaptrueFolder_Click(object sender, EventArgs e)
            {

          Process myProcess = new Process();
          myProcess.StartInfo.FileName = @"Windows\explorer.exe";
          myProcess.StartInfo.Arguments = @"\Storage Card\Images";
          try
          {
                myProcess.Start();
          }
          catch (Exception e1)
          {
                MessageBox.Show(e1.ToString());
          }

       }

  • 相关阅读:
    2020软件工程作业01
    2020软件工程个人作业06——软件工程实践总结作业
    2020软件工程作业05
    2020软件工程作业04
    2020软件工程作业03
    2020软件工程02




  • 原文地址:https://www.cnblogs.com/hust_wsh/p/2041255.html
Copyright © 2011-2022 走看看