jasonseay Posted October 30, 2003 Posted October 30, 2003 i would like to either open an application or execute a shell command from an asp.net web page. i found an example in c# but i need it in vb and i can't seem to get the c# one to work. Quote
bungpeng Posted October 31, 2003 Posted October 31, 2003 System.Diagnostics.Process.Start P/S: It is run on web server, not client machine Quote
jasonseay Posted October 31, 2003 Author Posted October 31, 2003 i tried that i tried this as a test : system.diagnostics.process.start("C:\windows\system32\Notepad.exe") and nothing happened ps. i'm testing this locally so if the page is running off of my machine then i thought it would open on my machine Quote
bungpeng Posted October 31, 2003 Posted October 31, 2003 You expect the Notepad open in front of you? then what about if nobody login to the server? If you look at Task Manager, you will notice the notepad.exe was running, but you can't see anything, because it runs behind you. What are you going to do with this process? If your process insert some records to database, then you will know it is running. Since notepad do nothing when you open it, so you can't see anything. Quote
WebJumper Posted October 31, 2003 Posted October 31, 2003 @All Starting an app with ASP.net will never be shown because of ASP.net user starts the process and not the logged on user an the "client" and not the user logged on on the server! Regards, Stefan Quote
jasonseay Posted October 31, 2003 Author Posted October 31, 2003 what about this then there is a program called processbook and from the command line you can open it and pass it perameters so that when i starts it brings up a trend for a certain point. i want to execute the shell command that will open processbook. can i excute this command and have the processbook trend show up on the screen. Quote
bungpeng Posted November 1, 2003 Posted November 1, 2003 I don't think you can do it in ASP.NET... and it is not logic to let internet user to open program in web server Quote
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.