PC Review


Reply
Thread Tools Rate Thread

again : OpenFileDialog / "My Documents" folder Problems

 
 
Mark Johnson
Guest
Posts: n/a
 
      8th Jan 2004
By chance I have found that OpenFileDialog will indeed find files in "My
Documents"

Example :

My Documents\mj10777.de.eu\
*.sdf files here are found

What is NOT found is when there is another Directory under this :

My Documents\mj10777.de.eu\MainFrame\
*.sdf files here are not found

I had the empression that for "My Documents" (as in Registry and "Program
Files") a "My_Company\My_Application" logic was desired.
For my normal programs this is no problem since I use this logic for the
connetion string and SqlCe finds the desired Database.

The NetDbExplorer was desiged to open any non-protected Database and works
for the first Branch inside "MyDocuments" and all Directory on the Storage
Card - but cannot be used since Open/SaveFileDialog does not seems to like
the "My_Company\My_Application" logic.

Any ideas?

Mark Johnson, Berlin Germany
(E-Mail Removed)


 
Reply With Quote
 
 
 
 
Peter Foot [MVP]
Guest
Posts: n/a
 
      8th Jan 2004
OpenFileDialog only works on the first layer of subfolders under My
Documents - this is a design decision specific to Pocket PC and has been the
case with the common dialogs including DocList on all versions of the
platform.

Peter

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

"Mark Johnson" <(E-Mail Removed)> wrote in message
news:3ffd3237$0$17561$(E-Mail Removed)...
> By chance I have found that OpenFileDialog will indeed find files in "My
> Documents"
>
> Example :
>
> My Documents\mj10777.de.eu\
> *.sdf files here are found
>
> What is NOT found is when there is another Directory under this :
>
> My Documents\mj10777.de.eu\MainFrame\
> *.sdf files here are not found
>
> I had the empression that for "My Documents" (as in Registry and "Program
> Files") a "My_Company\My_Application" logic was desired.
> For my normal programs this is no problem since I use this logic for the
> connetion string and SqlCe finds the desired Database.
>
> The NetDbExplorer was desiged to open any non-protected Database and works
> for the first Branch inside "MyDocuments" and all Directory on the Storage
> Card - but cannot be used since Open/SaveFileDialog does not seems to like
> the "My_Company\My_Application" logic.
>
> Any ideas?
>
> Mark Johnson, Berlin Germany
> (E-Mail Removed)
>
>



 
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
Reading "My Documents" folder problems =?Utf-8?B?Q2hyaXM=?= Windows XP General 4 24th Feb 2006 06:43 AM
Shared Documents Folder Problems and "Administrator" Account jdoe Windows XP Security 0 4th Jan 2006 02:02 AM
"Shared Documents Folder" name changed to "Documents" after restoring backup Wolf Windows XP Basics 5 31st Jan 2004 01:57 AM
Why does OpenFileDialog NOT find files in the "My Documents" folder? Mark Johnson Microsoft Dot NET Compact Framework 5 4th Jan 2004 09:44 PM
Moving the folder "Documents" of "All users" in "documents and settings" Jacques L Windows XP Security 2 14th Nov 2003 08:25 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:47 AM.