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 20th, 2011, 01:20 AM
Registered User
 
Join Date: Jul 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Imar for your reply. as you said it could be due to security settings in our organization.

i managed to link the exe by giving the full path of the exe...
__________________________________________________ ________
<a href="\\10.*.*.*\online\latest\setproxy.exe">Unabl e to access Internet</a>
__________________________________________________ ________

can u suggest me how to pass parameters to the exe.. i need to pass the employee id...

thanks in advance for ur time
 
Old July 21st, 2011, 05:12 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 think you'll be able to do that with a simple link. The browser will just download, but by default not run the application and I know of no way to pass parameters and force it to execute.

What you could do is write local VB script (for the browser in your ASP page) that executes the exe and passes in parameters. This might get you started:

http://www.google.com/#sclient=psy&h...w=1366&bih=624

For this to work, you need seriously low IE security settings which would typically only work in an Intranet environment (which seems to be the case for you).

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!





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.