Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

disabling right mouse click in adobe acrobat 7.0 browser control

Status
Not open for further replies.

stefnany

Programmer
Mar 1, 2004
20
CA
Hello,

I use a adobe acrobat 7.0 browser control (references acropdflib and Axacropdflib) with Vb.Net.

I want to disabling right mouse click and CTRL+C (copy). How I can do this??

Thanks!!! :)
Stefnany
 
Normally this should be done in the PDF itself. When creating them.

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
There's no such thing as a winnable war - Sting
 
I wanna bet they are COM.

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
There's no such thing as a winnable war - Sting
 
Yes,

the reference is COM.

But, i don't find how disabling right click at the creation of my pdf.
 
How do you create your PDF?

--------------------------------------------------------------------------------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
I put a adobe acrobat 7.0 browser control in my principal form.

In load I do this


...
PdfDocument.Visible = True
PdfDocument.LoadFile(pstFichTemp)
PdfDocument.setShowToolbar(False)
....
 
I asked how you create the PDF, not how you load it.

--------------------------------------------------------------------------------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
Sorry.....


I not create my PDF.
I just load it.
The PDF is create by an other application .... and I don't know how. It's an other person he program this.
 
Well, as Chrissie pointed out in his first post, this can be set when the PDF is created. The easiest solution would be to get the creator to set it, otherwise you could use something like Rick suggested.

--------------------------------------------------------------------------------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
You VIEW the .Pdf file in .NET with the code you posted. What you have been asked is how do you originally create the document as this is the point at which security can be applied.

I guess you are using the Adobe SDK. The control has onkeydown and onmousedown events you can trap.



Sweep
...if it works dont mess with it
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top