running exe in browser which exe is already at client side how?

Posted on 2003-03-14
Medium Priority
Last Modified: 2007-12-19
Hi all,

 I want to execute exe (which is already installed at client machine) by the browser.

 Eg, I have an application say weblinks.exe located (installed in client machine) at 'c:\program files\weblinks\weblinks.exe'. Suppose client visited our URL from browser http://www.xxx.com. Now in our site we have a button/link (This http is served by apache default ahaha.). now the user will click on the button/link then I need to execute the exe which ever he installed already in his machine(c:\program files\weblinks\weblinks.exe).

 I have done this in the below but it does not work..

 1) Configure SSL with apache.
 2) in the anchor tag given <a href="c:\\program files\weblinks\weblinks.exe">weblink</a>
  but when ever user is clicking on the link it does not do any thing. but when I open this html page normally in browser(with out fetching from server)..it works fine.

 Please help me in this regard..I am in urgent need of it..

With Regards
Question by:developer007
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 8141421
Just what we need triple xxx sites running executables on the local machine. LOL.

Assisted Solution

arthuryeung earned 150 total points
ID: 8142017
usually browser restricted the running of local programs (.exe .bat) in client machines, if you want a particular site to be able to run (.exe .bat) in your computer from the browser, you will need to enable "Trusted Site" in IE

Tools -> Internet Options -> Security -> Trusted Site -> Web Site

Add your web site url in the Trusted Site list

After that you will be able to lossen the browser security restriction to allow you running client side VBScript to execute .exe programs

Here is the code you need to put in your HTML

<script language="vbscript">
Set sh = CreateObject("WScript.Shell")
ReturnCode = sh.Run("c:\program files\weblinks\weblinks.exe",6,True)
set sh = nothing

Author Comment

ID: 8146438

 I think with out changing browser settings I can run signed activeX control. so, I have changed my exe file to activeX control. I want this one should be executed and installed in browser.

 I have configured in my linux machine to serve the web pages I also configure SSL with it. I have generated my own CA and server certificates.

 now I want to make the activex as signed one. how can I do it with openssl.

 is openssl allows to sign microsoft ActiveX..

 Please let me know I am hurry.

 Thanks in advance..have nice days and years..

with luv


Accepted Solution

arthuryeung earned 150 total points
ID: 8146732
you seems to need the ActiveX SDK to sign it, check this page:


you can sign it using the cert you generated , but seems you can't sign the ActiveX with openssl

Expert Comment

ID: 8707079
I have been looking at doing this for some time
what is the activeX where can i get it to use for my self?
can it be used in normal iis sever
does it just simply ask if you trust it?
help me please

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

777 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