hansu
Programmer
- Mar 12, 2002
- 89
I use a CommonDialog to let the user select html files:
When I run the project this shows all the html files. (Windows 2000) On the user machine (Windows XP) the CommonDialog doesn't show the html files.
Is it a problem of setting the flags not correctly? Or is it because of the different Windows version?
Thanks for your assistance.
Code:
With cdlMain
.CancelError = True
.DefaultExt = "html"
.Filter = "HTML Dateien (*.html)|*.html"
.Flags = cdlOFNHideReadOnly + cdlOFNFileMustExist + cdlOFNPathMustExist
.ShowOpen
End With
Is it a problem of setting the flags not correctly? Or is it because of the different Windows version?
Thanks for your assistance.