Link to home
Start Free TrialLog in
Avatar of LEONEL ROCHA
LEONEL ROCHAFlag for Uruguay

asked on

pdf viewer control ActiveX

I'm using AxAcroPDF control to display and print a PDF File. I use the following code:
        AxAcroPDF1.LoadFile("c:\temp\amazon.pdf")
        AxAcroPDF1.setView("Fit")
        AxAcroPDF1.setShowToolbar(False)
        AxAcroPDF1.setShowScrollbars(False)

The fact is that when the document is displayed appears a grey bar over it, at bottom side, with zoom, navegate and show toolbar options for some seconds and appears again whenever I do "mouse over" the document. How can I deactivate that grey bar?
I need the user can see only the first page of the document and print it pressing a form button.
Avatar of Christopher Kile
Christopher Kile
Flag of United States of America image

Then display the document, build some button code to call PrintPages(0, 0), and quit worrying about the bar, which will not print using this function.
Avatar of LEONEL ROCHA

ASKER

Yes I've done that, but I need to hide that bar. But it seems that is impossible
ASKER CERTIFIED SOLUTION
Avatar of Christopher Kile
Christopher Kile
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