How to cancel the adobe reader opening when You click a link on IE?
-
Hi, when we click a link(which opens a PDF file) in IE, the PDF file is opened in adobe reader or in IE(if "Display in Browser" is enabled). If the PDF is opened in adobe reader, how can I cancel that, I mean the adobe reader should not be open that file. How can I do this in c#?
-
Hi, when we click a link(which opens a PDF file) in IE, the PDF file is opened in adobe reader or in IE(if "Display in Browser" is enabled). If the PDF is opened in adobe reader, how can I cancel that, I mean the adobe reader should not be open that file. How can I do this in c#?
Generally speaking, you can't. This is a setting in the browser that the user has control over. The user chooses what should happen when a PDF file is opened. If you get the user to run an application on the client computer, it would be possible to change this setting, but that is nothing that you would normally do, and nothing that a user would normally allow.
Despite everything, the person most likely to be fooling you next is yourself.