Solved

launch applications

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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…

785 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