o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

hide console -

Is their anyway to write an app that would hide the console it was run in. And i dont mean that i am writing console apps and cant figure out why the console keeps poping up instead of windows. I want to make a (hopefully) little app that gets the handle of the window console window that called it and use ShowWindow(hWnd, SW_HIDE); or something to that effect. So i guess basicly my question is, how do i get the handle of the console i am running in?
Thanks,
Josh Powers

 

hide console -
Is their anyway to write an app that would hide the console it was run in. And i dont mean that i am writing console apps and cant figure out why the console keeps poping up instead of windows. I want to make a (hopefully) little app that gets the handle of the window console window


RESOLVED: CreateProcessA -
Hi all, I need your help. I have written a multithreaded app that starts and controls some third-party apps when lunching (mainly consoles). Therefore I used the CreateProcessA API. All works great except of one thing: When creating a process (a console app for example) the cons


Showing and hiding the console window -
I have what is basically a WinForms application, but a class within it writes a lot of debugging info to the Console. When compiling the application, if I set "Output Type" to "Windows Application" then all the debugging info goes off into the ether. If I compile


Hide Psexec console window -
If there's a way to hide the psexec console window? Even if in the startinfo of the process I set .StartInfo.CreateNoWindow = True the console window is still showing. Thanks


Console window -
Hi, I know how to open a console window and send output to it, but is it possible to attach that window to my main program window? or completely hide the console window? Thanks in advance.


Create Console from existing console -
Basically this is what I need to do: Console A spawns Console B: Console A maintains input and simply uses console B as a seperate window for display purpose only. However, from what I have read and been told this is not possible. But, I know that someone here probably has a f


How to turn off or hide input from console application -
Hello everyone, I have searched everywhere and can't find this answer anywhere. I hope someone here has tried to do what I want to do and has been successful with it. I have a console application. Part of this console application takes in a password with Console.In.ReadLine(). Th


[2005] Hide the mouse cursor in a full-screen console-mode app -
I'm making a full-screen console-mode app. Since it is entirely text-based and needs no mouse interaction, I thought it'd be nice to not display the ugly blocky mouse cursor. It seems that all consoles in .net display this cursor when made full screen. I know it possible to disable the


Hiding a cmd.exe window after CreateProcess -
I'm running a console application using the CreateProcess API. This opens up cmd.exe and then the console application appears as a separate window. I want to hide the cmd.exe window and keep the console application visible. Any ideas? TIA


getting the DOS console window handle -
could someone please tell me if there is a way to get the handle for the dos console window if a program is run from the command line instead of from windows? I want to build a console app (as per the console tutorial on this site) but want the output to appear in the dos window t


Widnows app + console app -
Is there any way I could use the features of a console app in a windows app? Im working on a game, and I love how the console app works, yet I need more than that at the same time. I was thinking of declaring a richtextbox as a console but im not sure if thats possible.. and if


console application auto close o.O -
Hey everybody, I maked a console application in visual basic 2008 express edition but if i put my commands in the console and press enter then he gives my answer but close automatically 1 sec after i pressed enter. So i hope someone can help me with this problem. I got a conso


Run console app from a windows form -
Hey, I've made some console applications (two of them in my project) and then I decided to add a windows form into the project. Now I have placed two separate command buttons onto the form, but I'm confused about the code which must be written for the command buttons to launch the c


console. -
Hi, I have a question regarding this - console.writeline or any console statement What does it do? I have never used it . I just use textbox or listview to get the output. Where does console. send the output. I was looking at msdn.com examples and they use console. stuff h


[Request] How i can make server console/hosting -
Possible make console to some game where is stupid console where cannot control anything. Console is black but i cannot mod any settings or anything with it so can i make some connector to black console and put my program show how much players there are, example?


Remote Desktop Sample -
Hi i have a Remote Desktop Sample In csharp it show a console window in server can anyone convert this code to vb.net and hide the console ? How can set this sample to work with Modem ? is possible to capture and send screen to enother computer over the phone line ?


not displaying password characters in console -
How to hide password characters in console?


console programs with vb 6 -
i was using this tutorial as a base: http://www.vb-world.net/articles/console/ and was wondering how I could instead of popping up a new console process, use the existing console window's stdout to write to... any ideas? thanks


Prevent the console from closing -
When i build a Console application and run it the console always closes after the program is executed which means I cannot view any output. How do I stop the console from closing? Thanks


Possible to update a console line -
Hi, I was wondering, is there a way to update a console output? Like f.e. when you want to show progress in percent, but it where it updates the value instead of writing the numbers one after another with Console.Write? (If you catch what I mean ) or like: Console.Write("


writing to console -
I'm having difficulty writing to a console. I'm trying to add a command line option to list command line options. I can't seem to get the handle for the console that called the application. Everything works fine if I call AllocConsole before trying to write, but that opens a second con


Help with Ritchtextbox -
I use this function to add stuff to my console prog based's console: Public Sub consoleadd(message As String, error As Boolean) main.console.SelColor = vbYellow main.console.SelText = Format(Time, "h:mm:ss") & " - " & Format(Date, "d/m/yyyy")


Checking a return code for a console app -
I have a console application that is to be executed within an Excel spreadsheet using VBA code. It's presence is completely unknown to the user. However, I wish for the user to be notified that the program ran successfully (like a MsgBox). The console has no Console.Write or Console.Re


Console App State [Not Resolved] -
I have a Console application that is used to delay the startup of some programs when the computer boots up. It works fine. The only problem is that it has to stay open until the application has been launched (It uses Threading.Thread.Sleep to wait a certain amount of time). This


Dev C++ Console -
I just started using Bloodshed Dev C++ 4.9.9.2 after using Borland C++ for a long time. How do i enable the console to keep appearing after i run any program just like in Borland C++. For eg. When executing this code: ------------------ #include<iostream> int main() { cout&


VB.NET - Console input on same line + -
With VB.NET how do I get a response to: Console.WriteLine("my question here: ") sUserInput = System.Console.ReadLine() To appear like this: my question here: (User can type here) instead of down here...... And is there anyway to change the color of text in a co


VB.NET, Console, and Sockets -
Anyone have any realworld examples or using Sockets in a console application with VB.NET? I am trying to make a console app that works in a similar fashon as telnet. Ok, alot like telnet just with other functions as well. I just want to get the socket stuff to work in the console, any


clear the debug console -
I have something written to the console. But the problem is, everytime i run the program, the stuff to the console gets added. Is there anyway i can clear the console? Like picture1.cls, is there sometin similar for the debug window?


Hide/Show Window -
I like to use API or send message to window and hide it. By hide i mean hide it from the screen and system-tray and TaskBar. And after hide it i like to know how to reshow it. Thank you, Kiron


minimize the console window of a console application -
Hi! How can i minimize the console window of a console application which pop-ups when the console application is getting started. I don't have an idea how to solve this problem! I have already looked for a similar problem like this here in the forum but i didn't found something help


[2005] How do I detect keypresses in a console -
Hi, This is probably a simple question, but I am new to VB and I can only do console apps. So, here goes. How do I detect a keypress in a console, and detect which key was pressed,(arrow keys as well), and then go to a certain sub? I also don't want the key pressed to show up in t


How do I detect keypresses in a console (VB 2005 EE) -
Hi, This is probably a simple question, but I am new to VB and I can only do console apps. So, here goes. How do I detect a keypress in a console, and detect which key was pressed,(arrow keys as well), and then go to a certain sub? I also don't want the key pressed to show up in t


[2005] Console exit -
Is there any way to notice when console is shutting down? In Form, there is event for it, but I can't find equivalent for console.


Importing images into console -
I've heard that console applications do NOT support drawing lines etc. But is it possible to import an image into the console?


How can I determine whether a program uses the console -
I've spent a lot of time trying to figure this out. I need a way of telling whether a program is a console program without running it. It has to be possible because windows determines that when you look at the properties for a file. If it uses the console, there's some extra tabs.


Console Applications -
Hi All, Very elementary question. I have searched the Forum and looked at the Poll thread, but that does not deal with the following: What precisely is a "Console Application"? You can write to the console from a Windows Application. Why do we need a Console Appli


DEBUG console -
Hi all! I have a problem. I want to get debug info from my vb program to a console (DOS windows) while the program is executing!! I do not know how to open such a console and how to write to it!! In my program i want at certain points to send messages to that console!! Any i


Capturing DOS output from console while program is running -
Okay, I've been searching around for ages, but can't find an answer. I want to be able to capture DOS output from a console program, whilst it is running. All the examples I've seen have been capturing the output AFTER the program has finished executing. Does anyone know how to ca


Hide all -
is there a command where u can hide all currect forms that are open i tried Hide all all.hide but they didnt work Thanks Trav


Hide app from taskbar. -
Hey! How do i hide my program from tasbar and from screen ? Hide it so much, that it only will be visible in the task manager ? I tried Me.Hide() But NOTHING happens ?