DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C# (http://www.daniweb.com/forums/forum61.html)
-   -   To run exe on client machine from a webpage (http://www.daniweb.com/forums/thread141732.html)

santy555 Aug 22nd, 2008 10:19 am
To run exe on client machine from a webpage
 
Hi ,

I am new to c# , I want to know how to develop ActiveXControls in c# ,Can you let me know some samples if you have.

My Requirement is : to run an Exe which is residing on the Client machine .

I.e in the web page i will ask the user to select the exe path (in to a text box),
and on click of a button in webpage i want to run the exe which is on client machine(path will be in the text box)

can you tell me how to achieve this ,(Is it require activeX .. etc)

selvaganapathy Aug 23rd, 2008 1:38 am
Re: To run exe on client machine from a webpage
 
Hi,
I think it is not possible for security reason.

santy555 Aug 25th, 2008 1:32 am
Re: To run exe on client machine from a webpage
 
Hi <
Thank you for your reply,
If i know the location of exe on client machine then also is it not possible to start executing that exe on click of a button from webpage (using any javascript .. or any thing .)?

with regards and thanks,
santhosh k r

selvaganapathy Aug 25th, 2008 1:50 pm
Re: To run exe on client machine from a webpage
 
If you know the location of exe on client machine then also it is not possible. I think if such script in your webpage it may be blocked by browser.

I am not exact. but this is should not be possible, because any website can run exes in any computer, and can make harm to that computer.


All times are GMT -4. The time now is 3:25 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC