Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / March 2008

Tip: Looking for answers? Try searching our database.

Windows file explorer type window pane

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
colin - 26 Mar 2008 12:39 GMT
Hi,

I have a tree view much like in windows explorer (the one for files not IE)

it basically lets me view my computer and any drive/directory much like
explorer
but with the ability to filter only directories wich contain the files my
application.
uses wich makes it much easier.

im using DockPanel wich is excelent IDE type interface open source
makes it look much like vs2005, gives me dockable multiple tabbed windows.

however now ive got my directories in a nice tree I want to see a list of
files like in explorer,
with a window pane to the right, with the ability to view as list of names
in multiple columns,
or a detailed list or thumbails as some of them are bitmaps.

Is there any code wich resembles the windows explorer view ?

I was surprised to find the dockpanel wich did exactly what I wanted,
for the IDE type interface, but I dont think it does this type of view,
but I havnt explored it all yet, but its much like the vs2005 ide
wich i dont think has this sort of view.

So I was wondering if theres any code I can use, its probably
quite a bit of work todo from scratch.

Theres so many code samples out there, ive tried loads,
and wasted quite a bit of time with stuff that wasnt quite what it seemed.

and why oh why doesnt the c# treenode have a dynamic IsExpandable propery
that you can set !

Colin =^.^=
David Veeneman - 26 Mar 2008 15:48 GMT
If I understand the question correctly, it is "How do I set up the right
pane of an Explorer-style interface to show files the way that Windows
Explorer does it?"

Take a look at the ListView control It's designed to do just that. You can
set up the UI using a SplitContainer in WindowsForms or a Grid in WPF.
Ignacio Machin ( .NET/ C# MVP ) - 26 Mar 2008 15:56 GMT
> Hi,
>
[quoted text clipped - 32 lines]
>
> Colin =^.^=

Hi,

Take a look at the ListView control, it has the BASIC features that
you need.
colin - 26 Mar 2008 21:08 GMT
On Mar 26, 7:39 am, "colin" <colin.ro...@ntworld.NOSPAM.com> wrote:
> Hi,
>
[quoted text clipped - 33 lines]
>
> Colin =^.^=

|Hi,

|Take a look at the ListView control, it has the BASIC features that
|you need.
------
Ah yes I went and looked and it talks about operation similar to explorer.
thanks
Colin =^.^=
AA2e72E - 26 Mar 2008 18:27 GMT
Try:

to a form, add the webbrowser control & set its url to the drive:\path
colin - 26 Mar 2008 21:10 GMT
> Try:
>
> to a form, add the webbrowser control & set its url to the drive:\path

interesting, actually ive used a web control to display complicated data
wich i needed high lighting.
and I may do so again as I need to display complicated tables including
images and posibly links etc.
although I dont know how to make the links clickable so that my program can
catch them and create the corect page.

but in this case I need to display just the folders and files wich are
openable by the application.
like a sort of quick file find. so as Ignacio Machin sugested il look at the
listview.

theres also items inside the files wich i need to display this way too , not
just files in directories.
for example a file with multiple images.

thanks
Colin

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.