Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Disable Hide Adobe floating Toolbar in vb.net

Posted on 2013-06-13
3
Medium Priority
?
1,842 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
[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 7

Accepted Solution

by:
HaiFai earned 1000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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…
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

722 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