Open ControlPanel items or Application from C# Form

Are your interested to open mouse property,keyboard property or add or remove programs form from C#.
Try out these.


//In Button's Click Event
private void button1_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("appwiz.cpl");
}

The Following are some Items of Control Panel.
wuaupl.cpl - Automatic Update.
wscui.cpl - Windows Security Center.
timedate.cpl - Date and Time Property.
sysdm.cpl - System Property.
main.cpl - Mouse Property.
appwiz - Add Or Remove Programs.
You can find more in your system32 folder with .cpl extension.
You can also add these items in a Combobox with the combination of a button.


Comments

Guest Author: Brian13 Sep 2013

This is great, but how do I bring up the tabs and sub items on each tab? For example, sysdm.cpl brings up the system properties, but how do I bring up the Hardware, Advanced, System Protection, and Remote tabs in System Properties?

Or, for my purposes, how do I bring up the User Profiles which is on the Advanced tab of System Properties?



  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: