Solved

launch applications

Posted on 1997-01-16
2
328 Views
Last Modified: 2013-12-25
I have a question concerning web page development. I have to create a web page that will launch an application. For example a link on the page will pull up "explorer.exe" and it will run on the computer I'm sitting at.

I would greatly appreciate it if you help me,

Thank you
Ricky Li
0
Comment
Question by:rickyli
2 Comments
 

Accepted Solution

by:
jsjones earned 100 total points
ID: 1853957
All the HTML can do is get the file to the user.  It's up to the user to decide what to do with it. If you are using Netscape, you can set it to execute .exe files automatically when they are downloaded.

From netscape goto options:general Prefrences:helpers  then click on the item with the extention "exe" and select "Launch the Application"  and click OK.

Now whenever there is a link to "exe" file, it will execute it.  However, navigator will prompt you to save the file first before it will run it.

This all will work fine and dandy in most cases, but it is not a very effecient way to run things.  Even if the program the href refers to is on the local machine, netscape treats it like it is coming off the net, and "downloads" it.  This causes a short delay in the opening time.

Hope this helps out.
-Jeremy Jones
0
 
LVL 5

Expert Comment

by:JHalliday
ID: 39120271
jsjones I think what Ricky was wanting to do was run an application that was already installed on the PC.

If I'm correct then it is possible by creating an <A> link to the right place ie

<a href="c:\mydir\myapp.exe">My text</a>

Open in new window


The problem you will find Ricky is that this is likely to set off all sorts of alarm bells from anti malware and antivirus software and although the principle is sound you may not be able to get it to work reliably.

Sorry its not better news but hope it gets you somewhere to answering your question. As an alternative if you ware wanting to launch an application you have developed you might be able to achieve your ideal result using ClickOnce deployment as this would allow you to run an application directly from the web.

Regards

Jon
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now