Wrox Programmer Forums
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 28th, 2003, 06:12 AM
Registered User
Join Date: Nov 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Running .exe on client side from a .asp page


I want one link on asp page , by clicking it one should able to download the file on the client PC and it should be run automatically
i have tried many times but it is not working is there any brain who could help me out to solve this problem

thanx in advance


Old November 28th, 2003, 07:32 AM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Well, personally, I hope this will never be possible... ;)

This means that you could trick your user in clicking a link, and then execute some program that trashes their hard disk, sends sensitive data by e-mail, etc.

The browser won't allow this; AFAIK, the only option you have is to select "Open from this Location" when you click the download link.

You may be able to do this with some ActiveX / VBScript in a Trusted Sites zone security zone of IE), but I am not sure about that....



Imar Spaanjaars
Everyone is unique, except for me.
Old November 28th, 2003, 06:48 PM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

Yes, I agree with Imar. What happens to a downloaded file is completely up to the client browser.

Work smarter, not harder.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running exe from iis asp.net page [email protected] Classic ASP Components 2 February 21st, 2005 10:41 PM
Launch a .exe on the client side johnjohn Classic ASP Basics 1 November 16th, 2004 01:16 AM
Client Side script for executing an aspx page Sujith Manuel VBScript 1 November 9th, 2004 06:48 AM
How to run a client-side .exe in the ASP.NET frame Martyn ADO.NET 1 July 17th, 2004 12:12 AM
CLIENT SIDE JAVASCRIPT BROKE THE PAGE jomaweb ASP.NET 1.0 and 1.1 Basics 0 September 12th, 2003 08:02 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.