PC Review


Reply
Thread Tools Rate Thread

Directory.GetFiles(@"\Databases", "*.*") throws directory not foun

 
 
=?Utf-8?B?a2lsbGVycw==?=
Guest
Posts: n/a
 
      7th May 2005
Can anyone tell me why I am not getting a list of files in this directory or
is the path different for that system folder?

Thanks,

Kenneth Lewis
 
Reply With Quote
 
 
 
 
Guest
Posts: n/a
 
      7th May 2005
The folder definitely exists? It's not on most PPCs

-Chris


"killers" <(E-Mail Removed)> wrote in message
news:284FC117-3ABC-4710-9270-(E-Mail Removed)...
> Can anyone tell me why I am not getting a list of files in this directory
> or
> is the path different for that system folder?
>
> Thanks,
>
> Kenneth Lewis



 
Reply With Quote
 
=?Utf-8?B?a2lsbGVycw==?=
Guest
Posts: n/a
 
      7th May 2005
Yes it does anyone else can tell me why I am not getting a list of files here
for this system folder?

"<ctacke/>" wrote:

> The folder definitely exists? It's not on most PPCs
>
> -Chris
>
>
> "killers" <(E-Mail Removed)> wrote in message
> news:284FC117-3ABC-4710-9270-(E-Mail Removed)...
> > Can anyone tell me why I am not getting a list of files in this directory
> > or
> > is the path different for that system folder?
> >
> > Thanks,
> >
> > Kenneth Lewis

>
>
>

 
Reply With Quote
 
Guest
Posts: n/a
 
      8th May 2005
I'm going to go out on a limb and guess it's because you're looking at the
data store and you need to use the database APIs to enumerate and open them.

-Chris


"killers" <(E-Mail Removed)> wrote in message
news:82BAD499-9B2C-4626-A9AC-(E-Mail Removed)...
> Yes it does anyone else can tell me why I am not getting a list of files
> here
> for this system folder?
>
> "<ctacke/>" wrote:
>
>> The folder definitely exists? It's not on most PPCs
>>
>> -Chris
>>
>>
>> "killers" <(E-Mail Removed)> wrote in message
>> news:284FC117-3ABC-4710-9270-(E-Mail Removed)...
>> > Can anyone tell me why I am not getting a list of files in this
>> > directory
>> > or
>> > is the path different for that system folder?
>> >
>> > Thanks,
>> >
>> > Kenneth Lewis

>>
>>
>>



 
Reply With Quote
 
Peter Foot [MVP]
Guest
Posts: n/a
 
      9th May 2005
Yes, Databases is a virtual folder, which shows up through ActiveSync but
doesn't actually exist in the filestore. To get the equivalent functionality
you need to mount the object store and enumerate the databases it contains.
You'll need to P/Invoke CeMountDBVol, CeFindFirstDatabase,
CeFindNextDatabase and associated structures.

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.peterfoot.net | www.opennetcf.org

"<ctacke/>" <ctacke_AT_OpenNETCF_com> wrote in message
news:(E-Mail Removed)...
> I'm going to go out on a limb and guess it's because you're looking at the
> data store and you need to use the database APIs to enumerate and open
> them.
>
> -Chris
>
>
> "killers" <(E-Mail Removed)> wrote in message
> news:82BAD499-9B2C-4626-A9AC-(E-Mail Removed)...
>> Yes it does anyone else can tell me why I am not getting a list of files
>> here
>> for this system folder?
>>
>> "<ctacke/>" wrote:
>>
>>> The folder definitely exists? It's not on most PPCs
>>>
>>> -Chris
>>>
>>>
>>> "killers" <(E-Mail Removed)> wrote in message
>>> news:284FC117-3ABC-4710-9270-(E-Mail Removed)...
>>> > Can anyone tell me why I am not getting a list of files in this
>>> > directory
>>> > or
>>> > is the path different for that system folder?
>>> >
>>> > Thanks,
>>> >
>>> > Kenneth Lewis
>>>
>>>
>>>

>
>



 
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
System.IO.Directory.Delete Throws "the directory is not empty" codeboy Microsoft ASP .NET 1 8th Jun 2009 01:08 PM
"Program Files" directory shows up as "Accessibility" in Windows Explorer?? CrumbBread@gmail.com Windows XP Help 1 24th Apr 2006 06:06 AM
"Program Files" directory shows up as "Accessibility" in Windows Explorer?? CrumbBread@gmail.com Windows XP General 0 23rd Apr 2006 06:01 PM
"Owner" directory locked and new "Ownerxxxx" account created John Windows XP Security 3 5th Feb 2004 02:33 AM
"Limit Profile Size" -Can I go beyond 260 characters in "Directory exclusions"? Per TT Microsoft Windows 2000 Group Policy 0 27th Nov 2003 11:47 AM


Features
 

Advertising
 

Newsgroups
 


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