A executable file which has compiled, How to insert it into IE?
-
A executable file which has compiled, How to insert it into IE?can you help me ,please tell me some about it,Thanks!
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/
-
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/
-
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 ?
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/
-
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/