By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,617 Members | 1,166 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,617 IT Pros & Developers. It's quick & easy.

Convert Javascript file to exe or dll

P: 12
Is it possible to convert javascript(.js) file as exe or dll?

Regards,
Maria prabudass E
Feb 6 '08 #1
Share this Question
Share on Google+
7 Replies


gits
Expert Mod 5K+
P: 5,353
hi ...

no ... it is a interpreted language and the source code is to be interpreted by a javascript runtime environment ... that is typically a webbrowser ...

kind regards
Feb 6 '08 #2

acoder
Expert Mod 15k+
P: 16,027
Changed the thread title - please use a good thread title. Thanks!
Feb 6 '08 #3

P: 4
As gits said, it is a browser. so javascript could be embedded into an exe ( mini browser ). then called.

check this easy solution.
http://developer.mozilla.org/en/docs...dder%27s_Guide

Another solution which i used in my XNeat is using Microsoft Scripting Engine

Regards,
Sa6ry
Feb 9 '08 #4

gits
Expert Mod 5K+
P: 5,353
that is a cool possibility ;) ... thanks for the link ... it would include the js-runtime into a c-application ... and thus allow the execution of javascript-code ...

so you would pack the script AND the runtime into an application ... and you don't make a standalone program from the javascript-code ... but it is a nice possibility to embed! scripting into a c-app ... for whatever reason
Feb 9 '08 #5

P: 12
Is it possible to call the .js file from vc++? If possible means, please give some samples.

Regards,
Maria Prabudass E
Mar 6 '08 #6

rnd me
Expert 100+
P: 427
Is it possible to convert javascript(.js) file as exe or dll?

Regards,
Maria prabudass E
yes, i put some examples onthis post

the best part of that method is that it uses a compiler you probably already have installed on your system, and it's free.
Mar 8 '08 #7

P: 4
try this online free JScript to exe converter JScript to Exe
Mar 13 '08 #8

Post your reply

Sign in to post your reply or Sign up for a free account.