title: Microsoft CommonDialog Control for higher version of MS Access
body: <p>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. </p>
  
  <p>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 <strong>CommonDialog</strong> built-in method which opens a window for selecting a file is not working and error message pops up.</p>
  
  <p><a href="https://i.stack.imgur.com/bN0Yz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bN0Yz.png" alt="enter image description here"></a></p>
  
  <p>By that we are completely aware that some references are missing and we were right.</p>
  
  <p><a href="https://i.stack.imgur.com/d24yO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/d24yO.png" alt="enter image description here"></a></p>
  
  <p>We searched the web and realized that we need to use the <strong>Application.FileDialog</strong> under <strong>Microsoft Office x.0 Object Library</strong> for higher version of MS Access. We implemented that for some of our VBA code that utilizes the <strong>CommonDialog</strong> and it worked.</p>
  
  <p>But we are also thinking on how are we able to continue using the <strong>CommonDialog</strong> for higher version of Access just for the sake of not tweaking our VBA code?</p>
  
  <p>If you have an idea about this, I would be glad to hear. Thanks in advance!</p>