I dont want the user to see any files, and just to select directories from the file dialog:confused:
Printable View
I dont want the user to see any files, and just to select directories from the file dialog:confused:
You cant. you have to use the API for that, but there is good news. The update for VS.NET (Everett) has a control just for that.
You don't have to use the API. Here is one example of how to do it.
http://www.planet-source-code.com/vb...=705&lngWId=10
tnx:)
That example is indeed using the API.
hmm, maybe I posted the wrong one then...I have an example that I ported from VB to C#, I don't remember any API calls....
I will look for it.
I knew I did one without the API. Check my posts on this thread. I included a zip file that has the code. It is in C# though, but there is a link in the same post as my code that goes to a planet source code version that is in VB.Net.
http://www.vbforums.com/showthread.p...hreadid=207777
I found it. Good stuff.
so basically Forms.Design.FolderNameEditor does everything? it sounds like that it doesnt use any of those comaptibility classes, right?
btw I find the one with API's nicer, because it lets you to browse for network forlders as well, and it also shows the desktop content.
Utility Library (I think that's what it's called....the one written in c#) has a very nice one too
EDIT: never mind, it does show desktop/etc:D
EDIT2: aaah cander made a part of that!!! :p