From: Sri on
In windows mobile, is it possible to retrieve the recently accessed files?
Like in Windows XP(desktop), the files are shown in Recent Documents.

Is there any API to retrieve the list of recent files stored? Or any
registry key stores these values? Please let me know
From: Michael Salamone on
Check this: http://msdn.microsoft.com/en-us/library/aa453707.aspx. Use
CSIDL_RECENT.

--
Michael Salamone, eMVP
Entrek Software, Inc.
www.entrek.com


"Sri" <Sri(a)discussions.microsoft.com> wrote in message
news:FC9308D6-1137-43BC-8D72-50BDE73B98BE(a)microsoft.com...
> In windows mobile, is it possible to retrieve the recently accessed files?
> Like in Windows XP(desktop), the files are shown in Recent Documents.
>
> Is there any API to retrieve the list of recent files stored? Or any
> registry key stores these values? Please let me know

From: Sri on
Thanks Michael!
But it seems CSIDL_RECENT is not supported in Windows Mobile 5.0/6.0.
Is there any other API available? Please let me know.

"Michael Salamone" wrote:

> Check this: http://msdn.microsoft.com/en-us/library/aa453707.aspx. Use
> CSIDL_RECENT.
>
> --
> Michael Salamone, eMVP
> Entrek Software, Inc.
> www.entrek.com
>
>
> "Sri" <Sri(a)discussions.microsoft.com> wrote in message
> news:FC9308D6-1137-43BC-8D72-50BDE73B98BE(a)microsoft.com...
> > In windows mobile, is it possible to retrieve the recently accessed files?
> > Like in Windows XP(desktop), the files are shown in Recent Documents.
> >
> > Is there any API to retrieve the list of recent files stored? Or any
> > registry key stores these values? Please let me know
>
>
From: Michael Salamone on
Must say I've never used it, but sure looks like it's supported. Not only
is it documented for both WinMo 5/6, the API and CSIDL are defined in the
WinMo headers. As is SHAddToRecentDocs is which adds stuff to the recent
docs folder. http://msdn.microsoft.com/en-us/library/aa932918.aspx

Doc and header files are not definitive indication, of course. What are you
doing to determine it's not supported? Is the API failing with some error
code?

If in fact this is not supported, there wouldn't be any other you can use.

--
Michael Salamone, eMVP
Entrek Software, Inc.
www.entrek.com


"Sri" <Sri(a)discussions.microsoft.com> wrote in message
news:6A9A5605-3ED0-4FEE-B5A7-244EB77770B4(a)microsoft.com...
> Thanks Michael!
> But it seems CSIDL_RECENT is not supported in Windows Mobile 5.0/6.0.
> Is there any other API available? Please let me know.
>
> "Michael Salamone" wrote:
>
>> Check this: http://msdn.microsoft.com/en-us/library/aa453707.aspx. Use
>> CSIDL_RECENT.
>>
>> --
>> Michael Salamone, eMVP
>> Entrek Software, Inc.
>> www.entrek.com
>>
>>
>> "Sri" <Sri(a)discussions.microsoft.com> wrote in message
>> news:FC9308D6-1137-43BC-8D72-50BDE73B98BE(a)microsoft.com...
>> > In windows mobile, is it possible to retrieve the recently accessed
>> > files?
>> > Like in Windows XP(desktop), the files are shown in Recent Documents.
>> >
>> > Is there any API to retrieve the list of recent files stored? Or any
>> > registry key stores these values? Please let me know
>>
>>

From: Sri on
I tried SHGetSpecialFolderPath method. I used CSIDL_RECENT value. The return
value is true. But the value of filepath(lpszPath) is an empty string. In the
URL
http://msdn.microsoft.com/en-us/library/aa453706.aspx
they have mentioned that CSIDL_RECENT is not supported in Windows Mobile.

Thanks a lot Michael for your inputs. Actually we had a requirement to
display the list of recently accessed documents. Since that is not possible
to get the values, we dropped the requirement.

Thanks
Sri

"Michael Salamone" wrote:

> Must say I've never used it, but sure looks like it's supported. Not only
> is it documented for both WinMo 5/6, the API and CSIDL are defined in the
> WinMo headers. As is SHAddToRecentDocs is which adds stuff to the recent
> docs folder. http://msdn.microsoft.com/en-us/library/aa932918.aspx
>
> Doc and header files are not definitive indication, of course. What are you
> doing to determine it's not supported? Is the API failing with some error
> code?
>
> If in fact this is not supported, there wouldn't be any other you can use.
>
> --
> Michael Salamone, eMVP
> Entrek Software, Inc.
> www.entrek.com
>
>
> "Sri" <Sri(a)discussions.microsoft.com> wrote in message
> news:6A9A5605-3ED0-4FEE-B5A7-244EB77770B4(a)microsoft.com...
> > Thanks Michael!
> > But it seems CSIDL_RECENT is not supported in Windows Mobile 5.0/6.0.
> > Is there any other API available? Please let me know.
> >
> > "Michael Salamone" wrote:
> >
> >> Check this: http://msdn.microsoft.com/en-us/library/aa453707.aspx. Use
> >> CSIDL_RECENT.
> >>
> >> --
> >> Michael Salamone, eMVP
> >> Entrek Software, Inc.
> >> www.entrek.com
> >>
> >>
> >> "Sri" <Sri(a)discussions.microsoft.com> wrote in message
> >> news:FC9308D6-1137-43BC-8D72-50BDE73B98BE(a)microsoft.com...
> >> > In windows mobile, is it possible to retrieve the recently accessed
> >> > files?
> >> > Like in Windows XP(desktop), the files are shown in Recent Documents.
> >> >
> >> > Is there any API to retrieve the list of recent files stored? Or any
> >> > registry key stores these values? Please let me know
> >>
> >>
>
>