在C#中呼叫我的电脑 [英] Call My Computer in c#
本文介绍了在C#中呼叫我的电脑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
朋友们,
任何人都可以帮助我,如何在我的C#代码中调用我的电脑" ..在按钮中单击....
解决方案
Process.Start("explorer.exe");
使用以下代码
Process.Start(" ,System.Environment. GetFolderPath(System.Environment.SpecialFolder.MyDocuments)); Process.Start(" ,System.Environment.GetFolderPath(System.Environment.SpecialFolder.我的电脑)); Process.Start(" ,System.Environment.GetFolderPath(System.Environment.SpecialFolder. MyPictures));
谢谢
--RA
http://www.tek-tips. com/viewthread.cfm?qid = 1459523 [ ^ ]
Hi friends,
Can any one help me , how to call "my computer" in my c# code.. in an button click....
解决方案
Process.Start("explorer.exe");
Use the below code
Process.Start("explorer.exe", System.Environment.GetFolderPath(System.Environment.SpecialFolder.MyDocuments)); Process.Start("explorer.exe", System.Environment.GetFolderPath(System.Environment.SpecialFolder.MyComputer)); Process.Start("explorer.exe", System.Environment.GetFolderPath(System.Environment.SpecialFolder.MyPictures));
Thanks
--RA
http://www.tek-tips.com/viewthread.cfm?qid=1459523[^]
这篇关于在C#中呼叫我的电脑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文