jesus4u Posted March 11, 2003 Posted March 11, 2003 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 :-\ Quote Alex Polajenko
Leaders quwiltw Posted March 13, 2003 Leaders Posted March 13, 2003 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. Quote --tim
aewarnick Posted March 18, 2003 Posted March 18, 2003 I have included the source file for the directory picker to give you an idea of how to make you own. I like your user name, check out my site: clickdirectorypicker.cs Quote C#
*Experts* Bucky Posted March 18, 2003 *Experts* Posted March 18, 2003 Or check out EliteVB's class: http://www.elitevb.com/content/01,0077,01/01.aspx Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
*Gurus* divil Posted March 18, 2003 *Gurus* Posted March 18, 2003 MS have fixed this lack of a directory picker control in Visual Studio .NET 2003. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.