acropdf hide navigation page via VBA

JoeBlack1980
JoeBlack1980 used Ask the Experts™
on
Dear All,

In my ACCESS 2007 project I have a embedded activeX Acrobat reader control ( ACROPDF) inside a Form.
How can i hide the navigation pane programatticaly via VBA ?
Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Jeffrey CoachmanMIS Liason
Most Valuable Expert 2012

Commented:
Try:

SendKeys "{F11}"

Create a Public Function:

Public Function HidBDWin()
    SendKeys "{F11}"
end function

Create an Autoexec Macro
Make the first Action: RunCode
The Function will be:  HidBDWin()


Then do the same thing when the DB closes
Somewhere in youer "Close DB" code, (Before the Close DB command) put
    HidBDWin()

Let's see if another Experts has something more elegant though...
;-)

JeffCoachman

Author

Commented:
Dear Jeff,
Thank you very much for the extreme quick reply.
Buy i don't ask for NAvigation pane of Access.
I ask for ActiveX object ACROBAT READER's navigation pane which is embedden inside the form.
I guess it is something like , but i dont know the exact method
me.forms.acropdf.HideNavigationPane True
 
Thanks any way
MIS Liason
Most Valuable Expert 2012
Commented:
Oh, OK
;-)

Then when viewing the PDF in the control you can right-click the "Navigation Panel" and select "Hide Navigation Panel Buttons"
This will hide it until you manually turn it back on.

I don't know of any way to do this via VBA.
AFAIK, the Nav Pave is embedded into Acrobat itself and is not exposed to VBA.
(Remember, MS and Adobe compete in many areas...)

You can see this link for some workarounds perhaps:
http://forums.adobe.com/thread/301715

JeffCoachman

Author

Commented:
thanks

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial