>When a GetFile command is issued for a particular file type (PDF, DOC, XLS, etc.), the Combo box fills with a list of most recently written files. Is there a way to programmatically access this list from VFP?
>
>Also is there a way to programmatically access the Windows Download List?
Recent files comes from:
C:\Users\<username>l\AppData\Roaming\Microsoft\Windows\Recent
Recent files only end up in that folder if the application uses a registered extension which goes into the Recent list and also into the MRU list for the application that is registered for it (ie. quicklinks on pinned apps for example).
If you want to achieve the file dialog like your picture the best way to do this is to use the new Windows Dialogs in newer versions of Windows that automatically provide this functionality including filtering for the file types you are referencing in the dialog. I presume that the best usecase for this is to use this dialog rather than building something custom.
I wrote a blog post about dealing with application specific MRU lists a while ago that might be useful as it gives some insight how files end up on MRU lists:
Adding Files to the Windows MRU/Recent Document ListDownloads come from here (default location):
C:\Users\<username>\Downloads
Downloads can of course be directed to other folders and you won't find those other place saved files stored anywhere.
+++ Rick ---