Consoles in Form Applications  
Author Message
babakf





PostPosted: Visual C# General, Consoles in Form Applications Top

Hi ,

I have created a Form Application with a "Button" control on it.

By clicking the button , I want to open a "Console" and write something in it.

How



Visual C#18  
 
 
Kusala





PostPosted: Visual C# General, Consoles in Form Applications Top

What do you mean by ‘Console’ Is it something like another form with a multi-line textbox


 
 
Xaid





PostPosted: Visual C# General, Consoles in Form Applications Top

What I would do is on button click execute a shell function There is actually a lot of information to it . But here this will help . http://www.c-sharpcorner.com/Code/2002/July/ShellCommandsInCS.asp

 
 
babakf





PostPosted: Visual C# General, Consoles in Form Applications Top

Hi,

I mean by console, a window with black background like the one when we create a "Console Application" project.

But i got my answer. Someone told me to use "kernel32" dll functions. If you know better way, keep me informed. I'll be grateful.

Thanks anyway.