Link to home
Start Free TrialLog in
Avatar of JoeBlack1980
JoeBlack1980Flag for Türkiye

asked on

acropdf hide navigation page via VBA

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
Avatar of Jeffrey Coachman
Jeffrey Coachman
Flag of United States of America image

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
Avatar of JoeBlack1980

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of Jeffrey Coachman
Jeffrey Coachman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks