• Advertisement
Sign in to follow this  

[web] Exe on a web page?

This topic is 2459 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I basically am trying to figure out my best route to go, this of course depends if you can run an exe on a web page or not. I want to run my own calculator on say a school website. The way I see it I have a few options;

1. Have a download link for the exe(not favorable)

2. Make the same program only in java or flash so it could run strait off a web page.(Learning a bit of another language also not favorable but wouldn't be hard or bad)

3. Run the exe strait on the web page.

4. Cry in a corner

5. Rewrite it in HTML (Really unfavorable almost more than the download link)

Share this post


Link to post
Share on other sites
Advertisement
- You can't run an exe file on a web page. (you could run it as a cgi on the web-server but that doesn't seem like what you're looking for).
- Your best chance is to make a java applet. or a flash swf, or dynamic HTML maybe?.
- Never cry in a corner. You won't be able to run when people come to hit you.

Share this post


Link to post
Share on other sites
You could always write a browser plugin. Firebreath is a great framework for writing cross-platform plugins that work with all the major browsers.

Share this post


Link to post
Share on other sites
Thanks everyone for the responses, what does writing the pluggin entail? If I could do it in c++ it'd be prefered. I really want to avoid going into another language, even though it wouldn't be that hard.

Share this post


Link to post
Share on other sites

Thanks everyone for the responses, what does writing the pluggin entail? If I could do it in c++ it'd be prefered. I really want to avoid going into another language, even though it wouldn't be that hard.


Essentially, you write a dll which the browser loads when it sees a certain tag or runs a special bit of javascript . For IE writing this dll involves ActiveX. For most other browsers, NPAPI. Firebreath is a framework that let's you do both in one.

Whichever you choose, you'll need to (at least) fill in stuff to handle drawing, input, resizing, etc.

Hopefully that gives you some stuff to google wink.gif

Share this post


Link to post
Share on other sites
XD, Self-teaching these things is so tedious, wish I would have been round for the online lesson things in the forums.

Share this post


Link to post
Share on other sites
I want to run my own calculator on say a school website.[/quote]

Just for that you'll be fine with js (no chess-supercomputer style calculations needed I suppose?), there was a working js calculator posted here by someone not that long ago

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement