Open Folder with Contents?
Open Folder with Contents?
I know that OpenFileRequester can get a file but how do you obtain a folder with it's contents? Thanks for any information. 
See the FileSystem.pb source for an example of how to get folder contents
if you just want to quickly display the contents of a folder:
if you just want to quickly display the contents of a folder:
Code: Select all
a=ShellExecute_(WindowID(), "open", "C:\Program Files\Outlook Express\", NULL, NULL, #SW_SHOWNORMAL)
;set this to a to valid path
MessageRequester("Information Open Folder","Return Value Is "+Str(a)+Chr(10)+"If greater than 32 it succeeded Else it failed.", 0)
Last edited by wayne1 on Fri Oct 17, 2003 4:58 am, edited 2 times in total.
That one should do it. Looks like the variable has a slightly misleading name though...FileName$ = PathRequester(Title$, InitialPath$)
P4 2.4GHz, 256 MB, WinXP Pro, onboard video&audio.
The Programmer's Drinking Song:
"99 little bugs in the code,
99 little bugs.
Fix one bug, recompile
100 little bugs in the code."
The Programmer's Drinking Song:
"99 little bugs in the code,
99 little bugs.
Fix one bug, recompile
100 little bugs in the code."


