Click here to Skip to main content
15,893,508 members

Powershell or CMD window embedded in C# form

Karl-Einarb asked:

Open original thread
Hello

I have a question i can't seem to find an answer to, and i hope someone can help :)
I want to create a application similar to Yakuake, Tilda, etc.

Currently i have been able to achive something simelar to this by using a textbox to enter the commands and another textbox to display the results using streams, but thats not a real shell now is it.

Console2(http://sourceforge.net/projects/console/[^]) does pretty much what I want to acheive, but not 100%.

So is there anyone here that know what technique that have been used in Console2? (And similar programs?) Another program that does this is the Powershell ISE, it's divided in 3 sections with a interactive powershell-shell at the bottom(So it should be do-able to do this in other programs aswell, right?)

Anyways, I hope someone here are able to put me in the right direction :)


Sincerely
Karl-Einar
Tags: C#, Shell, PowerShell

Plain Text
ASM
ASP
ASP.NET
BASIC
BAT
C#
C++
COBOL
CoffeeScript
CSS
Dart
dbase
F#
FORTRAN
HTML
Java
Javascript
Kotlin
Lua
MIDL
MSIL
ObjectiveC
Pascal
PERL
PHP
PowerShell
Python
Razor
Ruby
Scala
Shell
SLN
SQL
Swift
T4
Terminal
TypeScript
VB
VBScript
XML
YAML

Preview



When answering a question please:
  1. Read the question carefully.
  2. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  3. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
  4. Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question.
Let's work to help developers, not make them feel stupid.
Please note that all posts will be submitted under the http://www.codeproject.com/info/cpol10.aspx.



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