473,657 Members | 2,504 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Convert Javascript file to exe or dll

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

Regards,
Maria prabudass E
Feb 6 '08 #1
7 17330
gits
5,390 Recognized Expert Moderator Expert
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 Recognized Expert Moderator MVP
Changed the thread title - please use a good thread title. Thanks!
Feb 6 '08 #3
XNeat
4 New Member
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 Recognized Expert Moderator Expert
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
maria80e
12 New Member
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 Recognized Expert Contributor
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 New Member
try this online free JScript to exe converter JScript to Exe
Mar 13 '08 #8

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

Similar topics

21
18224
by: ryanmhuc | last post by:
I know the subject might be confusing. I am no beginner with javascript but I haven't been able to figure out how to get the javascript file name from code inside the file. So you have an HTML doc with script tag who's source is a javascript file. <HTML> <script src="javascript.js"></script> </HTML> Javascript.js
4
11559
by: abid | last post by:
I need to convert DBF file to a pipe delmited text file. Can somebody guide me with a sample C program that does this kind of conversion. Thanks, Abhi.
1
4158
by: Mamatha | last post by:
Hi I am doing small application like video capturing,i had code to create avi file,but i want the same video file output in the form of wmv file format. How can we convert avi file to wmv file in C#.Net? I want the source code to convert avi file into wmv file in C#.NET. If you know the solution please let me know. Thanks in advance. Mamatha
3
25904
by: rojavenkat81 | last post by:
Hi All, Please help me regarding php program for convert video file to .flv file. I searched in many sites but i got only tool to convert video file to .flv file.But I want convert video file to .flv file by using PHP code. Thanks RojaVenkat
1
2506
by: sathyan8294 | last post by:
what is websites for convert javascript to vbscript?
17
2721
by: NeoAlchemy | last post by:
I am starting to find more web pages that are using a query parameters after the JavaScript file. Example can be found at www.opensourcefood.com. Within the source you'll see: <script src="/shared/scripts/common.js?revision=1.6" type="text/javascript">. I am trying to see if there is any big deal to this or a best practice that is starting to creep up in the JavaScript community. If this is used only as a way to distinguish what...
9
2914
by: Mahernoz | last post by:
Hello Friends, The JavaScript File exmplmenu_var.js contains the code... (for the sake of brevity i am showing only that code which needs to be changed) I am actually developing a menu using JavaScript. I have used a readymade javascript and there are variables like...
1
3701
by: sharmajavaforum | last post by:
Hai, I have a small task. I have an .HTML file. I wanted to convert .HTML file into a plain .txt file. Means after i convert the file, the .txt file should contain only the text rather than the HTML tags information. If you have a solution please guild me. Bi.
32
10944
by: poolboi | last post by:
hi guys, i've read a lot of thread of converting excel data into CSV files. however, i need a perl script to convert CSV file into excel file now, if required modules is needed, it would be preferable if win32::OLE is used.. currently what i know is when i change my extension as .csv file mannually, it get changed to an excel file through Microsoft Excel CSV file so if i were to use a perl script and convert the perl script has to...
0
8392
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8823
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8726
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8603
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4151
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1944
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.