I added the MSCOMDLG.COMMONDIALOG ActiveX control to an Access97 form. It works fine except for setting the filter property. I want only the files with a .txt extension to show in the files window so I have the following two lines of code:<br>
dlgCommon.Filter = "TextFiles(*.txt;*.csv;*.tab;*.asc) "<br>
dlgCommon.ShowOpen<br>
<br>
which sets the filter property before invoking the control. All files are showing up. What am I doing wrong?
dlgCommon.Filter = "TextFiles(*.txt;*.csv;*.tab;*.asc) "<br>
dlgCommon.ShowOpen<br>
<br>
which sets the filter property before invoking the control. All files are showing up. What am I doing wrong?