Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Professional
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional 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 April 29th, 2005, 09:57 AM
Registered User
 
Join Date: Apr 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default How can I execute .exe file from asp.net page

I want to run an .exe file from asp.net page. So i have tried it with process, SHELL. But i am able to run the process in background. But i want to execute it normally from asp.net page.

Can any one help me?

 
Old May 7th, 2005, 06:40 AM
Registered User
 
Join Date: Apr 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hai

I had also tried that but due to some security reason we cont run the exe but i will give the way to execute the exe.

step1

After creating the exe file
open a websetup project in that include your exe file when u include the exe all your referance file will also be included
then bulid the setup
then install it it will ask for virtual dir specift it it will be install in the loalhost server

then tpye the url like this

http://localhost/websepup1/windowsapplication1.exe

it will be executed and u can also execute it from remote

http://System01/websepup1/windowsapplication1.exe --------------now security warning will be listed

try it

 
Old May 8th, 2005, 10:03 PM
Registered User
 
Join Date: Apr 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you Dear,

But my actual requirement is,
I am having a setup file which was developed in VB.Net.
That setup has to be executed from .aspx file on the client's machine.

How should I do this?

Suresh

 
Old May 9th, 2005, 06:03 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You can't do that. You can't make the server run a file on the client. That's would make for a MAJOR security vulnerability.

All you can do is provide a link to the file that they will then download and run themselves.

-Peter
 
Old May 10th, 2005, 01:17 AM
Registered User
 
Join Date: Apr 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank U.

This works fine

Suresh Thanda






Similar Threads
Thread Thread Starter Forum Replies Last Post
execute exe file from web shinedas ASP.NET 1.0 and 1.1 Basics 1 November 9th, 2005 03:07 AM
To execute an exe file from an asp page. sree_mig Classic ASP Basics 0 October 18th, 2005 04:43 AM
Execute .exe file and terminate it Wayang_Mbeling Classic ASP Basics 9 October 18th, 2005 02:42 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
How to Execute and EXE file through ASP rekha_jsr Classic ASP Basics 6 November 16th, 2004 05:51 AM





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