Click here to Skip to main content
15,920,513 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Execute system.diagnostics.process.start
Hi friends, I want to order it on the client exe file I run the program system.diagnostics.process.start am
Whether this is possible?
If it is done! How do I do this because I run when I answered the Local and I will be ok, but when it does not run on the iis.
Please do guide
Posted
Comments
Rockstar_ 20-Sep-12 0:17am    
not clear... can you elaborate your problem...
AmitGajjar 20-Sep-12 0:54am    
What you really want to do with client side process ?
javad asadi 20-Sep-12 1:01am    
scanner

1 solution

Hi,

First of all Client process will never be start using ASP.NET. You can not execute any executable file from client machine. The only way is to use ActiveX control. But ActiveX control will work for Internet Explorer. You can start process using ActiveXobject in javascript if Activex is enabled in your browser.

Hope i answered you query.
Thanks.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 20-Sep-12 0:52am    
I voted 4 for this answer. I think this is important to point out that ActiveX is evil: in desktop application it's kind of obsolete; in the Web applications it defeats the purpose of the isolation you mentioned (which is devised for safety, first of all) and hence prohibitively dangerous. Just the whole OP's idea is wrong.
--SA
AmitGajjar 20-Sep-12 0:54am    
You are right SA, i forgot to mention that. Thanks for the information. Let's ask OP for what he would like to do with the client process :)
javad asadi 20-Sep-12 1:07am    
Guide can be more
I will be grateful if you keep this code sample can be provided
AmitGajjar 20-Sep-12 1:14am    
As SA said, ActiveX is obsolate and it's very not good to use. I suggest you to create one windows application and when user open your page, ask them to download the application to access scanner. i don't thin any other good solution for that.
javad asadi 20-Sep-12 2:12am    
Sorry you have an example or code that I can learn how to do

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900