Click here to Skip to main content
15,913,685 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
How I Get Director Path When Open on Explorer
Thanks
Posted
Comments
Mantu Singh 8-Oct-11 6:48am    
please clarify the question and provide details.......
Bala Selvanayagam 8-Oct-11 9:49am    
Are you saying that

for instance, when you click a button in c# windows form you should be able to browse and point a folder in the file explorer and then get the path of the folder selected programatically within the c# environment ?

Please confirm

1 solution

If you mean "how do I get a directory path, rather than a file?" then use the FolderBrowserDialog[^] instead of OpenFileDialog or SaveFileDialog
 
Share this answer
 
Comments
NOUR ALDEEN DORMOSH 8-Oct-11 8:32am    
No I Want Get Open Directory Event (Get Path Directory When Opened)

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