469,626 Members | 1,529 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,626 developers. It's quick & easy.

Convert Javascript file to exe or dll

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

Regards,
Maria prabudass E
Feb 6 '08 #1
7 16227
gits
5,390 Expert Mod 4TB
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
16,027 Expert Mod 8TB
Changed the thread title - please use a good thread title. Thanks!
Feb 6 '08 #3
XNeat
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
5,390 Expert Mod 4TB
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
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
427 Expert 256MB
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
XNeat
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.

Similar topics

4 posts views Thread by abid | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.