470,648 Members | 1,608 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,648 developers. It's quick & easy.

Custom file browser

In a styled WPF application, I need to write a custom file browser in
C#/WPF. As it is styled differently to generic Windows apps, I cannot use
the standard open file dialogs.

Writing a tree or breadcrumb is easy enough when it just needs to browse
physical local drives. But how do I browse the machine and networks using
the namespaces like Desktop, Network, Public etc.? I can write namespace
extensions fine, it's just the viewer side I'm stuck on.

Cheers,

Tim

Jan 29 '08 #1
2 2618
Hi Tim,

This is a quick note to let you know that I am performing research on this
issue and will get back to you as soon as possible. I appreciate your
patience.
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Jan 30 '08 #2
Hi Tim,

Based on my understanding, you are trying to create a custom file browser
to replace the standard common file dialogs in C#/WPF. Although this is not
recommended, to be able to enumerate the contents in those special folders
like Network, we will need to use the shell interfaces to do this.

Here's some third party sample code in VB.NET doing this:

CodeProject: An All VB.NET Explorer Tree Control with ImageList Management.
Free source code and programming help
(http://www.codeproject.com/KB/cpp/VbNetExpTree.aspx)

Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Jan 31 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Tobias Hesselmann | last post: by
2 posts views Thread by Joe Gazda | last post: by
3 posts views Thread by Ryan Moore | last post: by
3 posts views Thread by Qwert | last post: by
5 posts views Thread by Jason | last post: by
8 posts views Thread by bryan | last post: by
1 post views Thread by Klaus Jensen | last post: by
2 posts views Thread by P4trykx | last post: by
11 posts views Thread by =?Utf-8?B?bWljaGFlbCBzb3JlbnM=?= | last post: by
1 post views Thread by Korara | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.