Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

Posted

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

Posted

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.

Posted

@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

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...