开发者

How do I access windows items(?) from inside a VB.net program

I am not really sure how to ask this question. I have been teaching myself vb for about 3 months. The book I am using is pretty good about explaining things and what I can't figure out I can find different examples on the web. I can't find out how to access windows control panels from my app. For example if I type firewall.cpl at the run line it will launch the windows firewall. How do I launch that fro开发者_C百科m my app.


You can use Process.Start to execute other programs.

System.Diagnostics.Process.Start("path to\firewall.cpl")
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜