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 save a PDF file whch is opened on IE?

How to save a PDF file whch is opened on IE?

Scheduled Pinned Locked Moved C#
csharphtmltutorialquestion
3 Posts 3 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

    when a PDF file is opened in IE, I have to save that PDF without asking the user to save. How to do this in c#? Normally I am able to save the HTML pages opened in IE, but PDFs are not saved. Is there any way to save the currently opened PDF without asking user to save?

    C S 2 Replies Last reply
    0
    • S svt gdwl

      when a PDF file is opened in IE, I have to save that PDF without asking the user to save. How to do this in c#? Normally I am able to save the HTML pages opened in IE, but PDFs are not saved. Is there any way to save the currently opened PDF without asking user to save?

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      No, there is no way. Because, it's acrobat, and not IE, that is showing the file, it's acrobat you'd need to interact with.

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      1 Reply Last reply
      0
      • S svt gdwl

        when a PDF file is opened in IE, I have to save that PDF without asking the user to save. How to do this in c#? Normally I am able to save the HTML pages opened in IE, but PDFs are not saved. Is there any way to save the currently opened PDF without asking user to save?

        S Offline
        S Offline
        Saksida Bojan
        wrote on last edited by
        #3

        Then i suggest try using printer driver to PDF. If you select print, and then those drivers will save as PDF

        svt gdwl wrote:

        Is there any way to save the currently opened PDF without asking user to save?

        You coud write code to automatcly print to PDF through driver

        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