 |
| Classic ASP Components Discussions specific to components in ASP 3. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Classic ASP Components 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
|
|
|
|

July 18th, 2011, 03:34 AM
|
|
Registered User
|
|
Join Date: Jul 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Exe from ASP page
Hi
I am a new bie. Need help..
I have an exe created and it is available in the server and i want link to be given to the EXE so that user can execute the EXE in his local system.
How to do this.
thank you
|
|

July 18th, 2011, 03:37 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
Just put your file into some folder under the webroot of your site and link to it like this:
<a href="SomeFile.exe">Download</a>
Imar
|
|

July 18th, 2011, 04:00 AM
|
|
Registered User
|
|
Join Date: Jul 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks Imar for your reply...
but i am getting the error message as " Microsoft IE Execute Shell has stopped working"
Pl suggest
Last edited by padmapriyak; July 18th, 2011 at 04:10 AM..
|
|

July 18th, 2011, 04:20 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
And where? And when? You'll need to provide more details if you want us to help you. Simply creating a link to a file shouldn't generate this error. So, please be as specific as you can.
Cheers,
Imar
|
|

July 18th, 2011, 05:43 AM
|
|
Registered User
|
|
Join Date: Jul 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Imar,
Below is the sample code i tried with
__________________
<html>
<body>
<a href="setproxy.exe">Check</a>
</body>
</html>
_____________________
exe file is also in the same where the html is saved.
When i click on Check link in the browser i am getting the error message.
Let me know if more info is needed.. Thanks
|
|

July 18th, 2011, 05:56 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Quote:
|
When i click on Check link in the browser i am getting the error message.
|
Immediately? Or when you execute the .exe?
Imar
|
|

July 18th, 2011, 06:30 AM
|
|
Registered User
|
|
Join Date: Jul 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Imar,
Immediately when i click on the link "Check". Exe is not popping up....
|
|

July 18th, 2011, 10:51 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
That's weird. Sounds like a browser issue to me. How are you requesting the file (over http, or from disk) and in which browser are you testing this? Have you tried a different browser?
Imar
|
|

July 19th, 2011, 12:57 AM
|
|
Registered User
|
|
Join Date: Jul 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Imar,
I am using Internet Explorer Version 7. Just now tried with Mozilla and it is working with Mozilla.
But I need this issue to be fixed for Internet Explorer as that is the standard browser available to all in my organization.
Your suggestions pl...
|
|

July 19th, 2011, 05:08 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
I don't really know. It's supposed to work like this. It might be an issue with your browser, your security settings or security software on your machine.
Otherwise, I don't know why this doesn't work...
Imar
|
|
 |