Click here to Skip to main content
15,885,309 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to display command prompt in web application
Posted
Comments
Sandeep Mewara 11-Jan-11 7:18am    
Please elaborate on why and other details. You must have already understood that there are issues with such short description. edit and add details.

Or pick any answer that is close and discuss with the answerer using 'comment' feature.

And where are you going to show this?
At the server?
At the client?

If the former: How do you expect the user to type into it?

If the latter: Why? A) you can't run programs on a user PC: that is called "Probable Virus Activity". B) Let him open it himself if he needs it. If he can't open a command prompt, then he probably isn't competent enough to know what to type into it if he did...
 
Share this answer
 
in c# i think that isnt possible, this resource is from other library from
ASp.net framork, the same way that you dont use one windows form control at one web form control :sigh:
 
Share this answer
 
See http://dotnetperls.com/process-start[^].

If you were looking for a control, see here[^].
 
Share this answer
 
I think this will not do what you expect.
The command prompt will be started on the webserver, not in the client.
You will only see it if you host the website on your own machine.

Cheers
 
Share this answer
 
Here is an opesource java remote desktop:
http://jrdesktop.sourceforge.net/[^], it can be used as an applet embedded in a web page.

Regards
Espen Harlinn
 
Share this answer
 
Comments
Estys 11-Jan-11 7:23am    
This is great, another interpretation of the question :)
How did you figure out that he wants a remote desktop?
Espen Harlinn 11-Jan-11 7:30am    
If he wants it in the browser, with minimal fuss, it's a viable option. He could also use comet, and actually "redirect" input and output using pipes on the server. Wouldn't that be fun to implement :)
you need full permissions on client machine to do this. You need to create a small software which will be downloaded to client machine and after installation, the web application will send its request to that particular software on client's machine, that software will open the command prompt on client's machine.
 
Share this answer
 

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