Saturday, March 24, 2012

Open a directory

Hi

Using Visual C# 2005

hoping this is a easy one - on a form i have a button and when i click it I want to window to open showing me the contains of the folder - likec:\

Possible?

Hi,

If you are trying to do a FileUpload, then I answered this via VB.NET on forumhttp://forums.asp.net/t/1138148.aspx. See if you can translate it for your needs.

Hope it helps. :)


Look at the System.IO namespace for interactions with folders/files.

Note though... you can NOT access the CLIENT folders/files, ONLY THE SERVER.

0 comments:

Post a Comment