Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Tue, 29 Jan 2008 12:44:19 GMT,    group: microsoft.public.windows.developer.winfx.avalon        back       


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
date: Tue, 29 Jan 2008 12:44:19 GMT   author:   Tim Haughton am

RE: Custom file browser   
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 (wawang@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.
date: Wed, 30 Jan 2008 11:29:05 GMT   author:   (Walter Wang [MSFT])

RE: Custom file browser   
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 (wawang@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.
date: Thu, 31 Jan 2008 10:06:30 GMT   author:   (Walter Wang [MSFT])

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us