473,385 Members | 1,610 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to open explore on click of a button

I have a windows application in C#. On click of a button i want to open windows Explore and navigate to one folder. How can i do that?
Feb 7 '08 #1
2 1019
debasisdas
8,127 Expert 4TB
Try to open explorer using Shell command.
Feb 7 '08 #2
Pretty easy ...

Process explorer = Process.Start("C:\\");

This launches C:\\ in the Windows Explorer. You could use Environment.GetFolderPath(SpecialFolder.MyDocument s) instead of C:\\

Hope this helps.

Krishna Bhargava Vangapandu
http://krishnabhargav.blogspot.com
Feb 7 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Shamin | last post by:
Hi, Thanks in advance for answering to my Question. I'm stuck with this problem and would really appreciate any help. I have 2 aspx files (Main.aspx and ReportViewer.aspx). Main.aspx has a...
4
by: Shamin | last post by:
Hi, Thanks in advance for answering to my Question. I'm stuck with this problem and would really appreciate any help. I have 2 aspx files (Main.aspx and ReportViewer.aspx). Main.aspx has a...
0
by: =?Utf-8?B?YXJyZW4=?= | last post by:
why i cannot open disk drive like local disk C: or D: by double click it? i need to right click it ,then there are auto, search, open,explore...,click open to open it? i have already reinstall my...
4
by: xerannyo | last post by:
my OS is windows XP SP2 my problem occured after getting infected by a wscript.exe worm but was sucessfuly removed by my kaspersky....now i cannot open my local driive in explorer by double...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.