how do i filter only folders?
like the code before only allows .txt, can i do the same with folders?
CommonDialog1.Filter = ".txt" 'this sets what filestypes can be saved
Printable View
how do i filter only folders?
like the code before only allows .txt, can i do the same with folders?
CommonDialog1.Filter = ".txt" 'this sets what filestypes can be saved
The only Folder filter with which I'm aware using the Common Dialog is the InitDir property. Is that what you mean?
The ShowOpen or ShowSave methods of the common dialog control can not be used to select a folder, only to select a file.
Search this forum for SHBrowseForFolder, to browse for a folder.
no, i'm trying to only filter out foldersQuote:
Originally Posted by Hack
cool, thanks for the tip.Quote:
Originally Posted by Frans C