Solved

Disable Hide Adobe floating Toolbar in vb.net

Posted on 2013-06-13
3
1,575 Views
Last Modified: 2014-01-06
I need to disable / hide the adobe floating toolbar (small gray toolbar appears after moving mouse)

I use the vb.net object "AxAcroPDF1" and I need to ensure user are not able to copy the document. I already secured the pdf so print-out is disabled but how to disable save option?

Code for vb.net was answered in this question:
http://www.experts-exchange.com/Programming/Languages/.NET/Visual_Basic.NET/Q_28153643.html
0
Comment
Question by:HelpdeskJBC
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
HaiFai earned 500 total points
ID: 39243932
i copy paste this one from previous post here too..  all tho its not probably aswer you looking for.


hmm yes this seems like it does not work correcly AxAcroPDF1.setShowToolbar(False)
maybe its bug or something, according guide it should work like that.

i checked #toolbar=0&navpanes=0 it seems to work in webpage, so maybe if you try this

add WebBrowser1 component to project and load pdf like this

 Dim fileurl As New Uri(OpenFileDialog1.FileName & "#toolbar=0&navpanes=0")
WebBrowser1.Navigate(fileurl)
its using webbrowser then to access pdf and disable panel like it should do in AxAcroPDF1
0
 

Author Comment

by:HelpdeskJBC
ID: 39244025
thanks 2 more questions:
It will work with the "OpenFileDialog1.FileName"
"U:\PDFProject\File\Manual abc.pdf"

but not with my filelocation on a hidden share:
"\\servername\pdftemp$\User name\Office Manual abc.pdf"

The difference must be in the fileurl dimension:

 '{file:///U:/PDFProject/File/Manual abc.pdf%23toolbar=0&navpanes=0}

 '{file://server/pdftemp$/User Name/Manual abc.pdf%23toolbar=0&navpanes=0}

whats the problem with the url? could it be that the "\\" "//" at the beginning makes some troubles?

next question is how to deny selecting text inside the webBrowser1 component?
I'm able to copy paste the text.

Thanks
0
 

Author Comment

by:HelpdeskJBC
ID: 39252513
Any ideas to disallow the select and copy paste text editing in this webBrowser1 Object?
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
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 …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

860 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