473,387 Members | 1,624 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to run or start an external application with Javascript????

Hello,

It is possible to start or run an external application, like "calculator of
windows: calc" by using javasript,

Thanks you very much

sayoyo
Jul 20 '05 #1
3 18923
In article <JX*****************@news20.bellglobal.com>,
sa********@nurun.com enlightened us with...
Hello,

It is possible to start or run an external application, like "calculator of
windows: calc" by using javasript,

Thanks you very much


Using an HTA or activeX, yes.
Now, how would you know what programs the user has and where they are?
You need to know both to run an application with an HTA. With activeX,
you have more a few more options because Windows has some already
defined things like Word, Excel, etc.
Both solutions require Windows and lenient security settings. Not
everyone uses Windows.

Heck, if you know a user has an application and where the executable is,
you can just use a normal link. But this is rarely the case for internet
applications.

--
--
~kaeli~
If a turtle doesn't have a shell, is he homeless or naked?
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #2
Hi,

Frist, Thanks you for the answer:)!!!!

Actually, it is only a script which will only run on my machine, it is not
send into the internet(no Internet server), just want to automatically run
some application I has to do every time. I know where and what to Run, and
do you know how I can do it.

And what is a normal link and HTA? and ActiveX???? sorry I'm really a
beginner!!!!

Thanks you very much

Sayoyo
"kaeli" <ti******@NOSPAM.comcast.net> a écrit dans le message de
news:MP************************@nntp.lucent.com...
In article <JX*****************@news20.bellglobal.com>,
sa********@nurun.com enlightened us with...
Hello,

It is possible to start or run an external application, like "calculator of windows: calc" by using javasript,

Thanks you very much


Using an HTA or activeX, yes.
Now, how would you know what programs the user has and where they are?
You need to know both to run an application with an HTA. With activeX,
you have more a few more options because Windows has some already
defined things like Word, Excel, etc.
Both solutions require Windows and lenient security settings. Not
everyone uses Windows.

Heck, if you know a user has an application and where the executable is,
you can just use a normal link. But this is rarely the case for internet
applications.

--
--
~kaeli~
If a turtle doesn't have a shell, is he homeless or naked?
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #3
In article <Q_******************@news20.bellglobal.com>,
sa********@nurun.com enlightened us with...
Hi,

Frist, Thanks you for the answer:)!!!!

Actually, it is only a script which will only run on my machine,
Windows?
If you have Windows and IE, your best bet (IMO) is a little HTA.
it is not
send into the internet(no Internet server), just want to automatically run
some application I has to do every time. I know where and what to Run, and
do you know how I can do it.

Yes.
And what is a normal link
<a href="someFile">
and HTA?
HyperText Application
and ActiveX????
COM object, I think.
sorry I'm really a
beginner!!!!


Google is your friend.
--
--
~kaeli~
What's another word for thesaurus?
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Dmitri Shvetsov | last post by:
Hi, Can I start an external process from the Web Service? I'm using a code, compiler keeps silence, compiles ok and starts the project. When I trace in Debugger it doesn't start an external...
2
by: Matt Weaver | last post by:
I'm converting an application from VB6 to VB.NET. In the application, a page calls an external javascript file which is generated in ASP. I'm trying to do this in an ASPX page, but I can't figure...
3
by: C Williams | last post by:
I am using Visual Studio 2003 and trying to use the "Start External Program" option to start Excel when I run the program. What happens is that Excel opens and then immediately closes. I know...
0
by: LBeveridge | last post by:
Hi, This morning I installed Visual Studio 2005 side-by-side 2003. The first problem I've noted is that projects in 2003 that have "Start External Program" set don't do that. I'm creating a...
1
by: cvairetti | last post by:
Hi, I just write an application in C# that show an interface with five button, each button starts an external application that it comes in front of the main C# application with focus on. When the...
10
by: Stefan Weber | last post by:
Hi, I'm trying to access the JavaScript code contained in a <scripttag via its "text" attribute. This works well, if the code is embedded in the HTML page. However, when the code is in an...
5
by: lilOlMe | last post by:
I have an extern JavaScript file I've called "Utils.js". It will eventually hold all of the common JavaScript functions used throughout the ASPX pages that make up my website. Right now this file...
4
Frinavale
by: Frinavale | last post by:
So a while ago I created a Tab Strip Control (before the AjaxToolkit had theirs otherwise I would have probably just used theirs). When I looked at the AjaxToolkit control to see how they got...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...

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.