PC Review


Reply
Thread Tools Rate Thread

Custom file browser

 
 
Tim Haughton
Guest
Posts: n/a
 
      29th Jan 2008
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

 
Reply With Quote
 
 
 
 
Walter Wang [MSFT]
Guest
Posts: n/a
 
      30th Jan 2008
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 ((E-Mail Removed), 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.

 
Reply With Quote
 
Walter Wang [MSFT]
Guest
Posts: n/a
 
      31st Jan 2008
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 ((E-Mail Removed), 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.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change File Browser to Folder Browser Fir5tSight Microsoft Dot NET 2 16th May 2006 02:59 PM
Open .msg / .eml file in Browser/placeholder within browser ai4u Microsoft ASP .NET 0 27th Apr 2006 12:29 PM
Open .msg / .eml file in Browser/placeholder within browser ai4u Microsoft Outlook VBA Programming 0 27th Apr 2006 11:05 AM
Can I open a ppt file in a browser, without the browser repeatedly asking for confirmation? chillynois@yahoo.com Microsoft Powerpoint 0 15th Mar 2006 01:28 PM
Question: Invoking custom file type (file associated with custom app) VB Programmer Microsoft ASP .NET 1 3rd Nov 2003 11:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:15 PM.