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. Getting IE or Firefox to automatically open the file

Getting IE or Firefox to automatically open the file

Scheduled Pinned Locked Moved C#
helpquestion
4 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.
  • B Offline
    B Offline
    Brad Wick
    wrote on last edited by
    #1

    I built a small little application that every time a certain extension is clicked on, this application opens the file. On my website when you click on certain links it returns this file extension and in IE & Firefox they both prompt me on what to do with the file. I would like them to not prompt me and just open the file in the default application that is assigned to that extension in windows. Can someone help me figure this out?

    P 1 Reply Last reply
    0
    • B Brad Wick

      I built a small little application that every time a certain extension is clicked on, this application opens the file. On my website when you click on certain links it returns this file extension and in IE & Firefox they both prompt me on what to do with the file. I would like them to not prompt me and just open the file in the default application that is assigned to that extension in windows. Can someone help me figure this out?

      P Offline
      P Offline
      PIEBALDconsult
      wrote on last edited by
      #2

      Brad Wick wrote:

      I would like them to not prompt me and just open the file in the default application that is assigned to that extension in windows.

      Then tell Windows what you want it to do with them.

      B 1 Reply Last reply
      0
      • P PIEBALDconsult

        Brad Wick wrote:

        I would like them to not prompt me and just open the file in the default application that is assigned to that extension in windows.

        Then tell Windows what you want it to do with them.

        B Offline
        B Offline
        Brad Wick
        wrote on last edited by
        #3

        I did. If I have a file on my desktop and I double click on it, it opens my application and displays the contents of the file. When IE locates this extension, then it asks me if I want to Open, Save or Cancel. I want it to always just open this type of file.

        P 1 Reply Last reply
        0
        • B Brad Wick

          I did. If I have a file on my desktop and I double click on it, it opens my application and displays the contents of the file. When IE locates this extension, then it asks me if I want to Open, Save or Cancel. I want it to always just open this type of file.

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #4

          Then I don't know; it works for me.

          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