prakash Posted December 31, 2003 Posted December 31, 2003 This is my first post, On click of asp.net button, i want to run .exe in client pc, the problem is i dont know where that .exe file is instaled in client pc, but it will be installed in c:program files or D:program files, some thing like i wont to open open notepad in client pc on click of asp.net button, I have tried this but it is not at all working nor giving error Dim p As System.Diagnostics.Process p = System.Diagnostics.Process.Start("notepad") p.WaitForExit() Thx in advance Quote
AsifCh Posted December 31, 2003 Posted December 31, 2003 What is the error message Quote Asif Raza Ashraf Senior Software Engineer Electronic Solutions Pakistan Islamabad
Administrators PlausiblyDamp Posted December 31, 2003 Administrators Posted December 31, 2003 You are trying to launch the application on the server - and if you check task manager you will see notepad gets loaded into the server's process list. However as it is launched from the ASPNET service it will not have access to the desktop. You cannot use server-side asp.net code to launch a client process that way. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
prakash Posted December 31, 2003 Author Posted December 31, 2003 What should i do to , run exe in client PC Quote
bri189a Posted December 31, 2003 Posted December 31, 2003 use client side scripting (JavaScipt, VBScript) if there is a client side scripting object that would do that... I'm not familiar with one, but there may be one. Quote
*Gurus* Derek Stone Posted December 31, 2003 *Gurus* Posted December 31, 2003 Launch the application using a Java applet or an ActiveX control. While it is possible to do what you're looking to do using JavaScript, most security conscious users would find it a bit disconcerting. Quote Posting Guidelines
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.