Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Disable Hide Adobe floating Toolbar in vb.net

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

Industry Leaders: 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

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

972 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