Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!
all groups > c# > january 2010 >

c# : Directory and file list box


Patrick Johnson
3/3/2005 9:10:43 PM
Under visual basic there used to be a directory tree list box and file =
list box controls that could be placed on a form and linked together.

v-schang NO[at]SPAM online.microsoft.com
3/4/2005 8:45:55 AM
Hi Patrick,

Welcome to MSDN newsgroup.
As for the FileListBox, DriveListBox controls in VB you mentioned, the
..net's winform buildin controls library dosn't involve them. So if you need
the similiar functions as those controls in VB6, we can use the .net's
ListBox winform control together with the System.IO apis to acheive it.

If there is any other questions, please feel free to post here.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Cor Ligthert
3/4/2005 9:54:16 AM
Patrick

There is the much nicer OpenFileDialog, SaveFileDialog, FolderBrowserDialog
(Net1.1 + sp1)

For the ones you ask you can load the VB powerpack where in are the controls
FileViewer and FolderViewer (.Net controls so as well for C#)

Download
http://www.gotdotnet.com/Community/Workspaces/workspace.aspx?id=167542e0-e435-4585-ae4f-c111fe60ed58

Description
http://msdn.microsoft.com/vbasic/default.aspx?pull=/library/en-us/dv_vstechart/html/vbpowerpack.asp#vbpowerpack_topic8

I hope this helps a little bit?

Cor

Patrick Johnson
4/18/2005 11:08:08 PM
Thanks for the input, I will have to look into the .net version further. I
used the old vb6 compatablity library reference and that seemed to work,
that had the controls I was looking for, however the ones here look like
they have better functionality...

Thanks again,
Patrick

[quoted text, click to view]

LogicNP
1/6/2010 11:47:51 PM
As a flexible and more customizable alternative to the modal file dialogs, you may also consider using controls such as Shell MegaPack (http://www.ssware.com/megapack.htm).


From http://www.google.co.in/url?sa=t&source=web&ct=res&cd=6&ved=0CBkQFjAF&url=http://www.developmentnow.com/groups/post.aspx?newsgroupid=36&threadid=223580&rct=j&q="Under+visual+basic+there+used+to+be"&ei=_pBFS4vQMYWwNsLllf0C&usg=AFQjCNH7e6dv2kKirDGlJJYVgqHfs-S2Fw

Posted via DevelopmentNow.com Groups
AddThis Social Bookmark Button