Converting HTML + JavaScript to an exe

Eilidh picture Eilidh · May 16, 2013 · Viewed 42.3k times · Source

There is actually a topic asking a very similar thing, however the information there is either out of date (broken links, discontinued solutions) or not suitable for my needs.

I have a showcase for my graduation wherein we have the opportunity to display our work to potential employers. The interface we have to use only allows .jpg, .flv and .exe files, however my project is in HTML / CSS / JavaScript.

Is there any way I can convert my project into a .exe?

(The ways the pre-existing question's answers suggest creating an .exe are now broken links / discontinued as far as I can tell; and alternate answers suggest ways to create standalone applications which do not generate .exes, which are not fit for my purposes)

Cheers!

Answer

Rajender Joshi picture Rajender Joshi · May 16, 2013

Most easiest way is:

1) Download Visual Studio Express Edition(Because it's free).

2) File -> New Project -> Windows Forms Application.

3) Load your current HTML into it.

4) Add WebBrowser control to your project.

5) Deploy your application(Build -> Publish).

Note: The WebBrowser Control use IE by-default. Take a look at this alternative as well.