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 / C++ / MFC
  4. MIME types & application

MIME types & application

Scheduled Pinned Locked Moved C / C++ / MFC
questionhtml
4 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.
  • O Offline
    O Offline
    ov
    wrote on last edited by
    #1

    I have an application that working with files named like <name>.ext (ext is my extension) I can run it this way: myapp.exe <file.ext> But when I try to open this file from HTML page (<a href="a.ext">file</a> ) IE asks me about open or save. How can I have it to stop do this? I've registered my MIME-type in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Accepted Documents but it have no effect. With the best regards, Vitaly.

    A S 2 Replies Last reply
    0
    • O ov

      I have an application that working with files named like <name>.ext (ext is my extension) I can run it this way: myapp.exe <file.ext> But when I try to open this file from HTML page (<a href="a.ext">file</a> ) IE asks me about open or save. How can I have it to stop do this? I've registered my MIME-type in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Accepted Documents but it have no effect. With the best regards, Vitaly.

      A Offline
      A Offline
      Anatari
      wrote on last edited by
      #2

      I don't think you can force a user to open your file automatically from a web page. That would be a huge potential security risk. However, to set your own computer to open it automatically, just check the box "don't ask me again" when choosing open or save. - Anatari

      O 1 Reply Last reply
      0
      • O ov

        I have an application that working with files named like <name>.ext (ext is my extension) I can run it this way: myapp.exe <file.ext> But when I try to open this file from HTML page (<a href="a.ext">file</a> ) IE asks me about open or save. How can I have it to stop do this? I've registered my MIME-type in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Accepted Documents but it have no effect. With the best regards, Vitaly.

        S Offline
        S Offline
        Stephane Rodriguez
        wrote on last edited by
        #3

        Quick ref[^] More comprehensive reference.[^]


        Back to real work : D-25.

        1 Reply Last reply
        0
        • A Anatari

          I don't think you can force a user to open your file automatically from a web page. That would be a huge potential security risk. However, to set your own computer to open it automatically, just check the box "don't ask me again" when choosing open or save. - Anatari

          O Offline
          O Offline
          ov
          wrote on last edited by
          #4

          This haven't helped. This checkbox reappeared on next download. And setting "Confirm open on download" in (Any Folder)->Tools menu->Folder Options->File Types->(My File)->Advanced haven't helped too. Win2k, IE 6.0 With the best regards, Vitaly.

          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