Trying to mimic Outlook Recent Items list in VBA Dialog Box

%3CLINGO-SUB%20id%3D%22lingo-sub-1521187%22%20slang%3D%22en-US%22%3ETrying%20to%20mimic%20Outlook%20Recent%20Items%20list%20in%20VBA%20Dialog%20Box%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1521187%22%20slang%3D%22en-US%22%3E%3CDIV%20class%3D%22lia-message-subject-wrapper%20lia-component-subject%20lia-component-message-view-widget-subject-with-options%22%3E%3CSPAN%3EHello.%26nbsp%3B%20I%20am%20trying%20some%20VBA%20code%20in%20LotusScript%20to%20point%20the%20default%20directory%20of%20an%20OpenFileDialog%20to%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20class%3D%22lia-message-body%20lia-component-message-view-widget-body%20lia-component-body-signature-highlight-escalation%20lia-component-message-view-widget-body-signature-highlight-escalation%22%3E%3CDIV%20class%3D%22lia-message-body-content%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%25APPDATA%25%5CRoaming%5CMicrosoft%5CWindows%5CRecent%5C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20thinking%20that%20this%20should%20return%20the%20recents%20as%20a%20convenience%20like%20Outlook%20does%20when%20attaching%20files%20to%20email%20(12%20Recent%20Items%20display).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20this%20directory%20is%20empty%20(contents%20presumably%20hidden)%20when%20I%20access%20via%20FileOpenDialog%20and%20accessing%20directly%20via%20File%20Explorer.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20no%20way%20to%20view%20the%20files%20listing%20Outlook%20is%20able%20to%20see%2C%20display%20and%20allow%20access%20to%20(at%20least%20as%20far%20as%20attaching)%20via%20it's%20own%20Recent%20Items%20list%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20very%20much%20for%20reading.%20Have%20a%20good%20day.%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor
Hello.  I am trying some VBA code in LotusScript to point the default directory of an OpenFileDialog to

 

%APPDATA%\Roaming\Microsoft\Windows\Recent\

 

I am thinking that this should return the recents as a convenience like Outlook does when attaching files to email (12 Recent Items display).

 

However, this directory is empty (contents presumably hidden) when I access via FileOpenDialog and accessing directly via File Explorer.

 

Is there no way to view the files listing Outlook is able to see, display and allow access to (at least as far as attaching) via it's own Recent Items list?

 

Thank you very much for reading. Have a good day.

0 Replies