Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How to cancel the adobe reader opening when You click a link on IE?

How to cancel the adobe reader opening when You click a link on IE?

Scheduled Pinned Locked Moved C#
questioncsharpadobetutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    svt gdwl
    wrote on last edited by
    #1

    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#?

    G 1 Reply Last reply
    0
    • S svt gdwl

      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#?

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups