Open My Computer Properties in a C # Windows Application

Is there a way to open "My Computer Properties" from a C # Windows application?

For example, the user clicks the "Computer Name" button and launches "My Computer Properties" - the "Computer Name" tab.

+3
source share
2 answers

Process.Start("sysdm.cpl");

+7
source

Now that we know how to do this, here is a link to all the other control panel files:

http://support.microsoft.com/kb/149648

File name      Purpose
-----------------------------------------------------------------------
Access.cpl     Accessibility properties
Appwiz.cpl     Add/Remove Programs properties
Desk.cpl       Display properties
FindFast.cpl   FindFast (included with Microsoft Office for Windows 95)
Inetcpl.cpl    Internet properties
Intl.cpl       Regional Settings properties
Joy.cpl        Joystick properties
Main.cpl       Mouse, Fonts, Keyboard, and Printers properties
Mlcfg32.cpl    Microsoft Exchange or Windows Messaging properties
Mmsys.cpl      Multimedia properties
Modem.cpl      Modem properties
Netcpl.cpl     Network properties
Odbccp32.cpl   Data Sources (32-bit ODBC, included w/ Microsoft Office)
Password.cpl   Password properties
Sticpl.cpl     Scanners and Cameras properties
Sysdm.cpl      System properties and Add New Hardware wizard
Themes.cpl     Desktop Themes 
TimeDate.cpl   Date/Time properties
Wgpocpl.cpl    Microsoft Mail Post Office
+7
source

Source: https://habr.com/ru/post/1711710/


All Articles