Am confused...
When I execute the following code ...
Why do I see files in c:\Users\lee\documents folder when PIX filter selected?
Why do I see files in all sorts of folders when PDFS filter selected?
My .initDir property specifies root folder to search.
Code:
Private Sub Command1_Click()
CommonDialog1.InitDir = "c:\trims2k"
CommonDialog1.Filter = "PDFS|*.pdf|Pix|*.jpg"
CommonDialog1.FilterIndex = 2
CommonDialog1.Flags = cdlOFNNoChangeDir
CommonDialog1.ShowOpen
Text1.Text = CommonDialog1.FileName
End Sub
Files displayed when i click down arrow on file list are shown below..
Any help is appreciated.
Lee