.net cf - launch explorer programmatically

夙愿已清 提交于 2019-12-02 01:08:36

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); 

In order to kick off a web browser navigation to a URL, I have always directly set the argument of the Start method to the url itself. Please try the following to see if it helps in .NET CF"

Process.Start("http://www.yahoo.com", null);

i.e.

Process.Start([url_variable], null);

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!