Solved

launch applications

Posted on 1997-01-16
2
329 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Accessibility and Usability are two concepts that seem to be closely related.  But, too many people seem to have a distorted perception of them. During last five years, those two words have come to the day-to-day work of almost every web develope…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
This video teaches users how to migrate an existing Wordpress website to a new domain.
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…

911 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

24 Experts available now in Live!

Get 1:1 Help Now