Solved

pdf viewer control ActiveX

Posted on 2013-12-02
3
719 Views
Last Modified: 2014-03-25
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.
0
Comment
Question by:leorocha
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 23

Expert Comment

by:Christopher Kile
ID: 39715348
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.
0
 

Author Comment

by:leorocha
ID: 39727584
Yes I've done that, but I need to hide that bar. But it seems that is impossible
0
 
LVL 23

Accepted Solution

by:
Christopher Kile earned 500 total points
ID: 39760016
You can't hide the bar without changing the code of the viewer; there appears .  You can print the document without the bar appearing in the output.  Based on my 30 years of experience, if you tell the user to ignore the bar then most of them will; based on about 7 years of using PDF viewers in our applications, which all had a similar bar when moused over, we had no incidents related to this issue.  In conclusion, I believe you'll be ok without removing it, and I don't believe you'll encounter problems due to its presence other than the occasional user complaining that this is there.  Sorry if this is bad news.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question