Google Answers Logo
View Question
 
Q: Opening exe programs on the client PC through ASP ( No Answer,   0 Comments )
Question  
Subject: Opening exe programs on the client PC through ASP
Category: Computers > Software
Asked by: premier-ga
List Price: $20.00
Posted: 24 Oct 2002 06:55 PDT
Expires: 24 Oct 2002 13:14 PDT
Question ID: 89187
I am at a loss.  I have searched google for several hours and have
found nothing relating to opening .exe programs client side from IE. 
A client of mine wants to have the ability to launch an .exe HMI from
the web-developed HMI I have written.  I have tried the WScript.Shell
using the AppActivate Method and a third party ActiveX control
(aspExec) with only the ability to open the .exe hidden on the Server.
 I need the .exe to open client-side using either JavaScript or
VBScript.  What code do I need?  Also, I have tried the exact example
from a VBScript book I have but receive an error when opening the
page.  Here is the code:

<html>
<head><title>WshShell test</title><head>
<body bgcolor=white text=black>
<%
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.AppActivate "Notepad"
%>
</body>
</html>

Why doesn't this work?  It is in my programmers reference book
released by Wrox.  Is there IIS settings I need?  Please help.

Request for Question Clarification by mrbuzz-ga on 24 Oct 2002 09:58 PDT
Hi premier-ga,

I've been using ASP as well as Wscript for quite some time and I
fairly confident that it's not possible to execute programs on the
client side UNLESS you use a signed ActiveX control designed
specifically to do so.  It's quite obvious that Wscript itself would
not allow this for security reasons.  I'm pretty sure there are such
activex controls available on the web that allows execution of
programs on the client side if you search for them.

Good luck,
mrbuzz-ga
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy