.net cf - launch explorer programmatically

前端 未结 2 1820
滥情空心
滥情空心 2021-01-22 19:08

I am trying to launch explorer programmatically from my .Net CF Window application. But its throwing win32 exception. I have used same kind of code in desktop .Net version, and

2条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-22 19:44

    Maybe you should give it a program name to start? "\" is not an application. Something like this is probably more likely to yield success:

    Process.Start("\\windows\\explorer.exe", null); 
    

提交回复
热议问题