title: The code in this project must be updated for use on 64-bit systems
body: <p>We have been using MS Access database (Office 2007, 32bit) in Windows 7 for a long time but recently we switched into Office 2016, 64 bit. </p>
  
  <p>Now every form is displaying the following message and it's really irritating:</p>
  
  <p><img src="https://i.stack.imgur.com/0q92g.png" alt="this message"></p>
  
  <p>Moreover, the Access window is not getting minimized. I'm not an expert in VBA and don't know what to do. I'm pasting the codes. Please don't suggest any article or documentation provided by Microsoft. I have tried to understand those a lot and failed.</p>
  
  <p>The code being used is:</p>
  
  <pre class="lang-vb prettyprint-override"><code>Option Compare Database
  Private Declare Function SetWindowPos Lib "user32.dll" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal X As Long, ByVal Y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long
  </code></pre>
  
  <p>And:</p>
  
  <pre class="lang-vb prettyprint-override"><code>Private Sub Form_Load()
      Application.RunCommand (acCmdAppRestore)
      SetWindowPos Application.hWndAccessApp, 0, 0, 0, 0, 0, 0
      Application.DoCmd.MoveSize 0, 0
  End Sub
  </code></pre>
  
  <p>Previously (in 32-bit office) the Access window used to be hidden on form load but now in 64-bit it's wide open. Please help me to hide the MS Access window in 64-bit version.</p>