Hi,

I've upgraded my Visual C++ application from version 6 to .NET. However,
ever since, my common dialog boxes refuse to display on Windows 95 and 98
(I use Windows XP to program).

Here's the code I use:

static char BASED_CODE szFilter[] = "Microsoft Access Database (*.mdb)|*.mdb||";

CFileDialog DlgSave(FALSE, "mdb", "", OFN_PATHMUSTEXIST, szFilter, this);

if (DlgSave.DoModal() == IDOK)
{
[...]

Does anybody know what is wrong with this code? It runs perfectly on Windows
XP. I'm not aware of any compatibility issues.

Any help would be greatly appreciated

-Bart Ritchie