title: MS Access 2013 to show only startup form and nothing else
body: <p>While starting up my MS Access 2013 database, I only need it to show the startup form and nothing else. Desired result would be something like below. The background is my desktop.</p>
  
  <p>Desired:</p>
  
  <p><a href="https://i.stack.imgur.com/SApXd.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SApXd.jpg" alt="enter image description here"></a></p>
  
  <p>However when I open the DB, the form opens taking the entire screen.</p>
  
  <p>The below VBA code runs when the startup form loads and initially it works, but if I minimize the window I can see the background again.</p>
  
  <pre><code>Option Compare Database
  Option Explicit
  Global Const SW_HIDE = 0
  Global Const SW_SHOWNORMAL = 1
  Global Const SW_SHOWMINIMIZED = 2
  Global Const SW_SHOWMAXIMIZED = 3
  
  Private Declare Function apiShowWindow Lib "user32" _
  Alias "ShowWindow" (ByVal hWnd As Long, _
  ByVal nCmdShow As Long) As Long
  
  Function fSetAccessWindow(nCmdShow As Long)
  Dim loX As Long
  Dim loForm As Form
  On Error Resume Next
  Set loForm = Screen.ActiveForm
  
  If Err &lt;&gt; 0 Then
      loX = apiShowWindow(hWndAccessApp, nCmdShow)
      Err.Clear
  End If
  
  If nCmdShow = SW_SHOWMINIMIZED And loForm.Modal = True Then
      MsgBox "Cannot minimize Access with " _
      &amp; (loForm.Caption + " ") _
      &amp; "form on screen"
  ElseIf nCmdShow = SW_HIDE And loForm.PopUp &lt;&gt; True Then
      MsgBox "Cannot hide Access with " _
      &amp; (loForm.Caption + " ") _
      &amp; "form on screen"
  Else
      loX = apiShowWindow(hWndAccessApp, nCmdShow)
  End If
  fSetAccessWindow = (loX &lt;&gt; 0)
  End Function
  </code></pre>
  
  <p>I have hidden ribbons, navigation pane and all access user interfaces, but I need to remove the Access background also.</p>
  
  <p>Current:</p>
  
  <p><a href="https://i.stack.imgur.com/fKDJ6.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fKDJ6.jpg" alt="enter image description here"></a></p>
  
  <p>Any help / advice would be appreciated. Thanks in advace !!!</p>