PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework Problem in OpenFileDialog Control

Reply

Problem in OpenFileDialog Control

 
Thread Tools Rate Thread
Old 20-04-2004, 01:51 PM   #1
=?Utf-8?B?U2llZGV2ZWxvcGVycw==?=
Guest
 
Posts: n/a
Default Problem in OpenFileDialog Control


Hi frnd

I'm supposed to provide a mechanise for file browsing in PDA. I've used openfile Dialog control , but it only supports browsing of folders under My Documents, whereas I'm in need for searching every folder in PDA
Can you plz suggest me a way to handle the above situation ?
Any tip or suggestion would be of great use

Thankx
  Reply With Quote
Old 20-04-2004, 02:31 PM   #2
Peter Foot [MVP]
Guest
 
Posts: n/a
Default Re: Problem in OpenFileDialog Control

This is a limitation imposed by Pocket PC, not the .NETCF dialogs. The shell
file dialogs support only the My Documents folder and equivalent folders on
storage cards. On generic Windows CE systems the Open File Dialog allows
browsing the full file system.

If you want to browse the whole file system on a Pocket PC, you'll need to
implement your own custom dialogs. This article (targeted at Smartphone)
shows a basic solution:-
http://msdn.microsoft.com/mobility/...tml/spfiles.asp

Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org

"Siedevelopers" <anonymous@discussions.microsoft.com> wrote in message
news:286F0263-CD84-4AEB-A413-48C7FC736C27@microsoft.com...
> Hi frnd,
>
> I'm supposed to provide a mechanise for file browsing in PDA. I've used
> openfile Dialog control , but it only supports browsing of folders under
> My Documents, whereas I'm in need for searching every folder in PDA.
> Can you plz suggest me a way to handle the above situation ?
> Any tip or suggestion would be of great use.
>
> Thankx



  Reply With Quote
Old 20-04-2004, 03:02 PM   #3
Chris Tacke, eMVP
Guest
 
Posts: n/a
Default Re: Problem in OpenFileDialog Control

That's the behavior of the Dialog on the PPC. It acts the same under C++.
The only workaround is to create a new dialog from scratch.

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net


"Siedevelopers" <anonymous@discussions.microsoft.com> wrote in message
news:286F0263-CD84-4AEB-A413-48C7FC736C27@microsoft.com...
> Hi frnd,
>
> I'm supposed to provide a mechanise for file browsing in PDA. I've used

openfile Dialog control , but it only supports browsing of folders under My
Documents, whereas I'm in need for searching every folder in PDA.
> Can you plz suggest me a way to handle the above situation ?
> Any tip or suggestion would be of great use.
>
> Thankx



  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off