Categories > Coding > C# >
is it possible to make a console in Windows Forms
Posted
title is my question
(is it possible to make a console in Windows Form)
Hello Idk What to put here so here is some useless info:
Exploits I Own: Synapse X
Replied
Yes you can. use console api
https://docs.microsoft.com/en-us/windows/console/console-functions
Cancel
Post
A generic in /quote "programmer"
Replied
@77242Ok thank you
Cancel
Post
Hello Idk What to put here so here is some useless info:
Exploits I Own: Synapse X
Replied
[DllImport("kernel32.dll")]
internal static extern bool FreeConsole(); //Dispose Console
[DllImport("kernel32.dll", SetLastError = true)]
internal static extern bool AllocConsole(); //Show Console
You can use normal console methods, for example:
Console.WriteLine();
Console.Beep();
Console.Title = "blabla";
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post