• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 348
  • Last Modified:

launch applications

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
rickyli
Asked:
rickyli
1 Solution
 
jsjonesCommented:
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
 
JHallidayChief Technical OfficerCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now