Disable Adobe Reader toolbar from my ActiveX - pdf

I am loading a PDF document in my ActiveX using AxAcroPDFLib and iTextSharp libraries. I want to disable the toolbar (that have Save, Print etc options) from the loaded PDF so that user cannot 'Save' the PDF from ActiveX.
I have following code:
axAcroPDF1.Width = someWidth;
axAcroPDF1.Height = someHeight;
axAcroPDF1.LoadFile(documentPath);
axAcroPDF1.setPageMode("none");
axAcroPDF1.setShowToolbar(false);
axAcroPDF1.Show();
axAcroPDF1.Focus();
The axAcroPDF1.setShowToolbar(false) disables the toolbar but the other gray toolbar enables at the bottom ( as shown in figure on this link) of PDF when I move mouse in that area. That toolbar also have saving option in it and I want to disable this one as well.
It would be really nice if it allows to disable only 'Save' option and keep the other options enabled on toolbar.

I success using
this.axAcroPDF1.src = filePath + "#toolbar=0";

You are asking something that is impossible. Please read this thread dating from December 2011. You'll find a snippet where Leonard Rosenthol, Adobe's PDF architect says: "there is no way to hide the toolbar (or the HUD) in the browser."
Setting the toolbar to false works for the toolbar, but you are referring to the "Heads Up Display" (HUD). As documented by Adobe, there is no way to customize this feature, let me quote Adobe:
the "Heads Up Display" (HUD) is not customizable. There are no APIs to
HUD. You can’t use JavaScript to enter Read Mode, exit Read Mode or
detect that the document is in Read Mode. Though it might seem like
it, this wasn’t an oversight. There are some very sound engineering
reasons why this is the case but I won’t go into those here.

I got succeed using
axAcroPDF.src = filepath + "#toolbar = 0"

Related

PDF.js / PDFViewer should Trigger "Always Ask" Window - not SaveAs

I´ve got reports from some Users which were used to the Firefox "Always Ask" Window or "how to handle the download" Question, when klicking the "Save" button in the in-Browser PDF.js viewer.
Screenshot of PDF.js Plugin with marked SaveAs Button
This does not seem to work now, I am not sure if it happened after an update or something broke.
Anyone know the solution how to alter the setting? The usual Way in Firefox doesnt affect this, even the right setting is active, If I want to download a regular PDF by link, I get the correct "Always Ask" Window, but not inside PDF.Js.
If You ask Yourself why I am asking this if its set on "Always Ask" Anyway - There are certain applications which seem to force the appearance of an embedded PDF.Js viewer regardless from the setting - from here it is desirable, if the user could then decide what happens if clicked on the Save Button.

how remove pdf-toolbar from edge

Help me please to show pdf-documents in edge without top pdf-panel this pdf-panel which I want to remove is at the picture. Pdf-documents are opened through hyperlinks. I searched settings and I tried to add "toolbar=0" to my hyperlinks, but without result yet.
You can add "#toolbar=0" to the URL and refresh the page.
I agree with KJ's comment. The PDF reader is built in in Edge. It's a part of Edge browser so you can't disable the PDF toolbar using code. And there's no setting to disable the toolbar.
You can only open PDF in other applications if you don't want to see the toolbar. Besides, you can also provide your suggestion as a feature request to suggest the Edge team to add a setting to disable the PDF toolbar. You can send the feedback through the Microsoft Edge Insider forum.
Press F8 and then Read mode under page view icon, or just Ctrl + H

How can I stop Adobe Reader from asking "Save As" when saving a PDF form (i.e. allow just "Save")?

Does anyone know how to call Adobe Reader from the command line to open a pre-populated Adobe Form (with Extensions enabled) e.g MRBIGSORDER0001.PDF, allow the user to alter it and then do a save and exit?
At present when the populated form is opened for updating, hitting Save or the Save button on the toolbar prompts the user with "Save As", which is causing them to create multiple versions.
This issues appears to be related to new Security / Sandbox settings from Adobe Reader X onwards.
--
It is not clear exactly how to stop this from happening on a fine "level" but going to:
Edit --> Preferences --> Security (Enhanced)
Turning off "[ ] Enable Protected Mode at Startup" certianly stops this odd behavior cold.
I am looking into "Priveledged Locations" settings to see if I can fine tune this.
cheers,
JonHD
Make sure you are not using the Preview pane in the windows View. If you just use the Navigation pane and not preview or details pane then you should be able to just save.
It's like windows is holding the file open and so it is an active file and you can't just do a save you have to do a save as.
I think it must be a bug with the windows update
If you want end-users to be able to save a document that has been filled out, you need to Reader-enable the form.
Reader-enabling can only be done with Adobe software as the concept consists of digitally signing the document using a private key owned by Adobe. This digital signature unlocks functionality in Adobe Reader that is otherwise only available in Adobe Acrobat.
So, the solution is:
Make sure that the original form is reader-enabled (use Adobe Acrobat to do this),
Do not break the reader-enabling when pre-filling the form,
Thanks to the two previous steps, the "Save" button will work in your current set-up.

Link Button in PDF Doesn't Work

I have a FileMaker Pro 11 layout containing a button with an action of "open URL." When the layout is saved as a PDF, the button appears but no longer works (clicking on it doesn't do anything). Is there a way to save as PDF with the PDF containing a working "open URL" button?
Thank you,
Ben
You have to be in browse mode for your button to work. You are probably in preview mode. Buttons don't work in preview mode (which makes sense as it is just a preview of what will be printed).

How can I add hotkeys with Safari extension

Can I listen to hotkeys with safari extension?
I want to respond to Cmd+SomeKey with action done by extension, but I've read intro on apple developer and there is nothing about hotkeys.
You can add custom buttons to the Safari toolbar, create bars of your own, add contextual menu items, display content in bars or tabs, and inject scripts and style sheets into webpages.
No single word about hotkeys, and google doesn't find any article about that. So is it possible at all? If it is possible, where can I get additional info?
It can be done -- someone helped me to set it up for my browser window resizer extension. You need to have an injected script that checks for a specific keypress/combo then send a message back to your toolbar or global page. Here's an example on github of an inject script to monitor for specific keypresses (alt-1 to alt-0) and here's an example of doing something with the message lines 92-108 & 131 of this toolbar page.