一按按钮就能够看到打开方式的那个页面的,那种形式,谢谢,,,

解决方案 »

  1.   

    "打开方式"总是需要关联到某个文件的
    参考:http://www.china-askpro.com/msg31/qa04.shtml
      

  2.   

    可是我不知道,在C#中用什么来代替VB中的shell
      

  3.   

    public void OpenWithStartInfo()
    {
                
    ProcessStartInfo startInfo = new ProcessStartInfo("IExplore.exe");
                
    Process.Start(startInfo);
                
    startInfo.Arguments = "rundll32 shell32,OpenAs_RunDLL .log";
    Process.Start(startInfo);
                
    }