Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

How to point to a Directory?

 

ok, I am new to C# so how do I, using an OpenFileDialog control or whatever is equivalent, point to a directory that I want to copy to another location?

 

Thanks

 

:-\

Alex Polajenko
  • Leaders
Posted
Strangely enough, there isn't a built-in control (that I've found) to similar to the OpenFileDialog that allows for directory selection and I haven't figured out a way to trick the OpenFileDialog into selecting just directories. I think you'll have to write your own, which is fairly simple or there are a number of tutorials on the net that use this as an example.
--tim

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...