Click here to Skip to main content
15,896,547 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi..can any one give me sample code to access local folders in windows application using c#
Posted
Comments
Sandeep Mewara 27-Jan-11 6:51am    
Any effort? Sounds straight forward... what is the problem?

See here[^].
 
Share this answer
 
Comments
mani.chinna 27-Jan-11 6:58am    
i cant get right solution..myproblem is i have to open only purticular folders via my application..
Sergey Alexandrovich Kryukov 27-Jan-11 22:39pm    
I don't think your reference is relevant, but this is not your fault, but IP's. Looks like another Inquirer who waste our time by the question but apparently does not want to get any answer which is manifested by lack of cooperation.

@mani: what's the problem?
Are you looking for the SpecialFolders :
http://www.thescarms.com/dotnet/SpecialFolders.aspx[^]

Cheers
 
Share this answer
 
Refer to

1. http://www.functionx.com/vbnet/controls/FolderBrowserDialog.htm
For traversing the folder for files.

2. http://www.codeproject.com/KB/aspnet/NET_DirectoryInfo.aspx
For letting user select the folder.
 
Share this answer
 

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