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. A executable file which has compiled, How to insert it into IE?

A executable file which has compiled, How to insert it into IE?

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestion
5 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.
  • H Offline
    H Offline
    hou_126
    wrote on last edited by
    #1

    A executable file which has compiled, How to insert it into IE?can you help me ,please tell me some about it,Thanks!

    K 1 Reply Last reply
    0
    • H hou_126

      A executable file which has compiled, How to insert it into IE?can you help me ,please tell me some about it,Thanks!

      K Offline
      K Offline
      KRowe
      wrote on last edited by
      #2

      I believe your asking how to run an true exe (machine code) inside a browser. This is impossible for two reasons: A) Browsers are not OSes they only display the contents of HTML pages and a few other formats. Additionally, a browser is not going to translate your code into code compatible with the visitors system. B) Some plug-ins and scripts do allow for functionality similar to a program but they are intentionally made restrictive so that web authors cannot attack web surfers with malicious programs. That being said, their are ways to write programs for browsers that are not true machine code. The most popular by far is Java code. This can be done through what are called Java Applets. The limitation to this is that each user will need to install your applet and accept it through a dialog that pops up when they go to your page if it contains code that could possibly harm the users computer. For a detailed explaination check out this site: http://java.sun.com/sfaq/

      H 1 Reply Last reply
      0
      • K KRowe

        I believe your asking how to run an true exe (machine code) inside a browser. This is impossible for two reasons: A) Browsers are not OSes they only display the contents of HTML pages and a few other formats. Additionally, a browser is not going to translate your code into code compatible with the visitors system. B) Some plug-ins and scripts do allow for functionality similar to a program but they are intentionally made restrictive so that web authors cannot attack web surfers with malicious programs. That being said, their are ways to write programs for browsers that are not true machine code. The most popular by far is Java code. This can be done through what are called Java Applets. The limitation to this is that each user will need to install your applet and accept it through a dialog that pops up when they go to your page if it contains code that could possibly harm the users computer. For a detailed explaination check out this site: http://java.sun.com/sfaq/

        H Offline
        H Offline
        hou_126
        wrote on last edited by
        #3

        Thanks a lot!I find some web pages have a program such as realoneplayer,maybe i express incorrectly my idea,can you tell me how to do it ?

        K 1 Reply Last reply
        0
        • H hou_126

          Thanks a lot!I find some web pages have a program such as realoneplayer,maybe i express incorrectly my idea,can you tell me how to do it ?

          K Offline
          K Offline
          KRowe
          wrote on last edited by
          #4

          To do that you would need to create a plug-in for each browser that you would like to support. This is not a small task. Unless you absolutely need a plug-in (which isn't very likely) I would recommend making an applet. If you really want to make a plug-in for IE try this link: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/anch\_webdev.asp If you want to play music from a browser you can do that with an applet. In fact their are some already made that are very customizable and easy to use and free that may give you an idea of what is possible with an applet as far as Javas' audio capability. Here is a link to one that I use on one of my sites: http://www.freedomaudio.com/

          H 1 Reply Last reply
          0
          • K KRowe

            To do that you would need to create a plug-in for each browser that you would like to support. This is not a small task. Unless you absolutely need a plug-in (which isn't very likely) I would recommend making an applet. If you really want to make a plug-in for IE try this link: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/anch\_webdev.asp If you want to play music from a browser you can do that with an applet. In fact their are some already made that are very customizable and easy to use and free that may give you an idea of what is possible with an applet as far as Javas' audio capability. Here is a link to one that I use on one of my sites: http://www.freedomaudio.com/

            H Offline
            H Offline
            hou_126
            wrote on last edited by
            #5

            Thank you very much!

            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