Wrox Programmer Forums
|
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
 
Old July 18th, 2011, 03:34 AM
Registered User
 
Join Date: Jul 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
 
Old July 18th, 2011, 03:37 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old July 18th, 2011, 04:00 AM
Registered User
 
Join Date: Jul 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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..
 
Old July 18th, 2011, 04:20 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old July 18th, 2011, 05:43 AM
Registered User
 
Join Date: Jul 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
 
Old July 18th, 2011, 05:56 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
When i click on Check link in the browser i am getting the error message.
Immediately? Or when you execute the .exe?

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old July 18th, 2011, 06:30 AM
Registered User
 
Join Date: Jul 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar,

Immediately when i click on the link "Check". Exe is not popping up....
 
Old July 18th, 2011, 10:51 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old July 19th, 2011, 12:57 AM
Registered User
 
Join Date: Jul 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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...
 
Old July 19th, 2011, 05:08 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Dig.exe Command via ASP Page not work Farooq Classic ASP Components 1 June 25th, 2009 06:37 AM
To execute an exe file from an asp page. sree_mig Classic ASP Basics 0 October 18th, 2005 04:43 AM
execute an .exe file in my server from an ASP page sree_mig ASP.NET 1.0 and 1.1 Basics 0 October 14th, 2005 05:42 AM
Running exe from iis asp.net page [email protected] Classic ASP Components 2 February 21st, 2005 10:41 PM
Running .exe on client side from a .asp page kashyap_thaker Classic ASP Basics 2 November 28th, 2003 06:48 PM





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