title: How to hide navigation pane in embedded PDF viewer control?
body: <p><strong>Goal: Trying to provide a embedded preview of a PDF file in a form (first page) without scroll bars, navigation panes etc showing.</strong></p>
  
  <p>Using Adobes PDF ActiveX control (Class AcroPDF.PDF.1), there are embedded PDF files in the MS Access form.</p>
  
  <p>So far I have</p>
  
  <pre><code>pdfControl.src = filePath
  pdfControl.setShowToolbar(False) ' hides toolbar (bar along top)
  pdfControl.setShowScrollBars(False) ' hides scroll bars since only first page important
  pdfControl.setPageMode("none") ' hides bookmarks and thumbs instead of opening by default
  </code></pre>
  
  <p>After this I'm left with just the navigation pane on the left.  Using the object browser I went through the functions, could not see anything explicitly mention navigation panes.</p>
  
  <p>Is there a way to hide the navigation pane from the embedded PDF control?</p>
  
  <p><strong>Edit</strong>: I've found that you can set a flag to hide the navigation page when opening in a non embedded instance as such</p>
  
  <pre><code>Call Shell("'" &amp; applicationPath &amp; "' /A 'navpanes=0&amp;toolbars=0' '" &amp; filePath &amp; "'", vbNormalFocus)
  </code></pre>
  
  <p>But I'm still failing to achieve the same thing while embedded.</p>
  
  <p><strong>Edit2</strong>: Below is the image where on the left is what I'm trying to get rid of and on the right is what I'm trying to achieve.</p>