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

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 it is i don't know how that would be done

 

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


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


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


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


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


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?


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


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, 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


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


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?


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


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] 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


[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


Read Console Text -
Hello, I'm trying to write a GUI for a console application and I want to parse the text in the console as it updates so I can give a progress readout in the GUI. Up until this point, I've just used Shell() to launch my program--and it works. Now I'm ready to try and capture the con


Getting text out of the console. -
Is there a way to get text out of a windows? I am running a console program on my PC. The windows looking like this is there i way to import the text from the console to a textbox in my VB project?


Console & Window -
How do you display a Windows form and a Console at the same time.... I have an OpenGL window that does it's thing, and then I would like to have a console window to output data:: This is what I have??? console window shows up then it calls the WinMain function which opens my openg


VB and Console Application -
Hello, I have read your tutorial regarding VB and Console Application. Right now i'm writing a program in VB using the console. Now, i'm executing a program using ShellExecute API function. This function opens its own console, and return a handle to the task (program). 1. Ho


What kind of app is it -
I decided to throw this in chit chat, because I wasn't sure where to put it, and lots of people come here. Anyhow... I'm working on an app that's sort of a replacement to the DOS prompt window. It's a console and you type commands in, and it basically does the same stuff as the DO


Getting the Console Text color Information -
Hi How can we get the Console Text Color before setting our own using SetConsoleTextAttribute? I mean, is there any technique like "GetConsoleTextAttribute" i.e. vice versa of SetConsoleTextAttribute?. I have a console application which sets the console color, but it wo


Factorial of a number in Console -
I'm still rather new to VB.net, and Visual basic all together. I'm currently taking a class on it, and one of the assignments has me stumped. Any help or tips will be greatly appriciated: I'm supposed to write out a console program that will give the factorial of a number inputted b


No output from Console.WriteLine -
Ok I have an app that I run from either GUI or console... For some reason the following line will NOT output anything Console.WriteLine("some stuff") I can get console arguments just fine, so it knows its coming from console, but it simply will not output anything.


Stop console scrolling -
Whenever I write a character to the bottom-right-most position in the console, the console automatically scrolls down. Is there any way to stop this happening?


Console Centre Text -
Hello, I'm making a console program in Dev-C++, I was just wondering if their is a method of centerig the text via the console window e.g. ( for a title )


Convert To Currency -
Hello Everyone: Can anyone tell me how to convert previousBalance and newBalance to a currency type of number? Please give specific instructions Here’s my code: Module Module1 Dim years As Integer Dim counter As Integer = 0 Dim apr, previousBalance, newBa


End Console application -
I'm writing a console Application in VB.NET. I give user a list of menus to choose from and the last one is Enter 'Q' to quit. Please let me know what command will actually close the console window. thnx


Resizing Console Application -
When creating a console application, how do you control (in code) the size of the console window that is displayed, please?


Console Position -
I know how I can set the caret to a specific x, y in the console window, but is there a way to retrieve the current coordinates of it? I'm trying to make a function to go to the nth column in the console, but I want it to stay in the same row. I'm going to use this function in repla