Convert Javascript file to exe or dll

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • maria80e
    New Member
    • Jan 2008
    • 12

    Convert Javascript file to exe or dll

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

    Regards,
    Maria prabudass E
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5390

    #2
    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

    Comment

    • acoder
      Recognized Expert MVP
      • Nov 2006
      • 16032

      #3
      Changed the thread title - please use a good thread title. Thanks!

      Comment

      • XNeat
        New Member
        • Feb 2008
        • 4

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

        check this easy solution.
        The MDN Web Docs site provides information about Open Web technologies including HTML, CSS, and APIs for both Web sites and progressive web apps.


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

        Regards,
        Sa6ry

        Comment

        • gits
          Recognized Expert Moderator Expert
          • May 2007
          • 5390

          #5
          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

          Comment

          • maria80e
            New Member
            • Jan 2008
            • 12

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

            Regards,
            Maria Prabudass E

            Comment

            • rnd me
              Recognized Expert Contributor
              • Jun 2007
              • 427

              #7
              Originally posted by maria80e
              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.

              Comment

              • XNeat
                New Member
                • Feb 2008
                • 4

                #8
                try this online free JScript to exe converter JScript to Exe

                Comment

                Working...