Click here to Skip to main content
15,903,385 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
List of canonical names:
http://msdn.microsoft.com/en-us/library/windows/desktop/ee330741(v=vs.85).aspx#Keyboard[^]

I'm trying to open some Control Panel items, but i can just open files with extension ".cpl".

My code:

C#
private void button1_Click(object sender, EventArgs e)
        {
            System.Diagnostics.Process.Start("control", "timedate.cpl");

        }


The above code opens "Date and Time" Control Panel item.


How do I open the Device manager library with module name "@%SystemRoot%\System32\devmgr.dll,-4"?
Posted
Comments
karthik Udhayakumar 17-May-14 21:47pm    
Did you search in the Internet?
Rig Trag 17-May-14 22:16pm    
Yes. But maybe I searched bad.

1 solution

Try
Process.Start("devmgmt.msc");
 
Share this answer
 
Comments

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900