Solved

Disable Hide Adobe floating Toolbar in vb.net

Posted on 2013-06-13
3
1,385 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
Comment Utility
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
Comment Utility
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
Comment Utility
Any ideas to disallow the select and copy paste text editing in this webBrowser1 Object?
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

772 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now