Microsoft CommonDialog Control for higher version of MS Access

756 Views Asked by At

I've been searching the web for answers but got no success to find the right thing to do. So this is my last resort.

We have an Access database (1997) and works perfectly in our old remote server. But when we migrated it to Windows 2012 Server and convert it to .accdb file format, the CommonDialog built-in method which opens a window for selecting a file is not working and error message pops up.

enter image description here

By that we are completely aware that some references are missing and we were right.

enter image description here

We searched the web and realized that we need to use the Application.FileDialog under Microsoft Office x.0 Object Library for higher version of MS Access. We implemented that for some of our VBA code that utilizes the CommonDialog and it worked.

But we are also thinking on how are we able to continue using the CommonDialog for higher version of Access just for the sake of not tweaking our VBA code?

If you have an idea about this, I would be glad to hear. Thanks in advance!

0

There are 0 best solutions below