Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   HTML / XHTML / CSS (http://www.programmingforums.org/forum27.html)
-   -   can you put a program in HTML site? (http://www.programmingforums.org/showthread.php?t=11582)

physicist Oct 15th, 2006 1:52 AM

can you put a program in HTML site?
 
i have a game that is a standalone .exe....can i put it in my website or does it need to be like a java applet or somethin like that?

Arevos Oct 15th, 2006 5:14 AM

Standalone exes have to be downloaded before they can be executed. Java applets, flash and shockwave can be embedded in HTML documents.

lectricpharaoh Oct 15th, 2006 11:47 AM

Quote:

Originally Posted by Arevos (Post 116528)
Standalone exes have to be downloaded before they can be executed. Java applets, flash and shockwave can be embedded in HTML documents.

<pedantic> Well, they actually all need to be downloaded. However, for applets and Flash/Shockwave files, it's an implicit thing, and the user gets no choice (short of disabling the plugins, etc). For regular executables, at least on Windows-based machines, the user usually gets the option to save to disk, or run it from its current location (which actually means it's downloaded to a temp folder, and run from there). </pedantic>

@Arevos: This is aimed at the OP, not you; I know you know what I said above.

physicist Oct 15th, 2006 6:12 PM

well is this wrong then?
Quote:

Originally Posted by some site
You cant execute a exe or other in plain html
however if you save the file as .SHTML and SSI is enabled
then use the form <!--#exec cmd="Path_to_file With_params" -->

this is the site
http://www.hypernews.org/HyperNews/g...ides/12/3.html

DaWei Oct 15th, 2006 6:40 PM

Think about it. If any site you surf to could run an .exe on your system, you wouldn't have a system. You'd have a pile of cinders. There has to be permission, explicit or implicit.

physicist Oct 15th, 2006 7:28 PM

k i guess i need to learn java then...im trying to get an online chess set up for my school chess club. can i do javascript? i found a javascript chess but it doesnt work on firefox (it works for IE)?!
can someone else tell me if tihs works for them?
http://javascript.internet.com/games/test.html
i dont see any pieces on the board on FF and in IE it works...i have javascript enabled on FF, any1 know what the problem might be??

Pizentios Oct 16th, 2006 11:04 AM

Quote:

Originally Posted by physicist (Post 116592)
k i guess i need to learn java then...im trying to get an online chess set up for my school chess club. can i do javascript? i found a javascript chess but it doesnt work on firefox (it works for IE)?!
can someone else tell me if tihs works for them?
http://javascript.internet.com/games/test.html
i dont see any pieces on the board on FF and in IE it works...i have javascript enabled on FF, any1 know what the problem might be??

you'll find that some (read: a lot) javascript will only run on IE. This is because Microsoft doesn't follow the web standards. They do it with a bunch of products, like their LDAP solution (Active Directory), or CSS.

lectricpharaoh Oct 16th, 2006 1:45 PM

Quote:

Originally Posted by Pizentios (Post 116631)
you'll find that some (read: a lot) javascript will only run on IE. This is because Microsoft doesn't follow the web standards. They do it with a bunch of products, like their LDAP solution (Active Directory), or CSS.

Hehe, yeah, the old 'triple-E' approach they use (embrace, extend, extinguish).

jsilver608 Oct 22nd, 2006 3:25 AM

if you wrote it using the latest version of visual studio, you can change it to a web app with almost no effort. You might want to look into this.


All times are GMT -5. The time now is 1:10 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC