Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hi friends,

Can any one help me , how to call "my computer" in my c# code.. in an button click....
Posted

Process.Start("explorer.exe");
 
Share this answer
 
Comments
Rajesh Anuhya 9-Feb-12 2:21am    
I understood the question after seeing this answer.
--RA
thatraja 9-Feb-12 10:07am    
What to do...? sometimes we had to answer based on our guess
Rajesh Anuhya 9-Feb-12 10:48am    
But, it's really brilliant catch...:-), have my +5
--RA
Sanjay K. Gupta 9-Feb-12 2:28am    
because the answer is given by "thatraja".
Espen Harlinn 9-Feb-12 8:42am    
5'ed!
Use the below code

C#
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
 
Share this answer
 
Comments
thatraja 9-Feb-12 10:08am    
Complete answer, 5!
 
Share this answer
 
Process.Start("iexplore.exe", "::{20d04fe0-3aea-1069-a2d8-08002b30309d}");
 
Share this answer
 
v2
Comments
Rajesh Anuhya 10-Feb-12 1:22am    
Edited: Code Tags added.
--RA

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