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 console with commands + console answers.
I want that if i put a console command that he doesn't close and that i just can put more in the console after i putted the other command.
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
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
Exiting A Console Application -
Hello Everyone:
I am trying to close a VB.Net Console application by allowing the user to hit any key, How do I do this?
Any Ideas?
Thanks
Art
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
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
Console Application Always on Top -
Hello All,
I'm writing a console application using Visual C++ 2008 Express Edition and I would like it to be always on top.
Does anyone know how this can be accomplished in a console application?
Thanks in advance,
FlamingFox
Console Hell -
A rephrased, and resubmitted thread . . .
I want to execute an application from the command prompt. I want that application to write information back to the same command prompt (I do not want to shell another console)
To do this, I guess, I will need the application to inherit th
How to exit from console application -
I'm writing a vb.net console application. I need to quit the application on a specific condition. I tried Application.Exit() but that gets underlined in the IDE saying it is an error. I also tried to find some reference that might help but had no luck...
What is the code to exit
Console Application with VB -
Hi,
I am trying to write a console application with VB(dont ask me why). I know that you can start with Sub Main() and may not have any Forms and get args passed from the command line with "Command". My question is lets suppose i build the executable and invoke it from the
Resizing Console Application -
When creating a console application, how do you control (in code) the size of the console window that is displayed, please?
hybrid application as console and/or service -
Hello list!
I am writing an application that is currently a console app. I would love to make it possible to also run the application as a service. My idea would be that via command line arguments I set whether the application should behave as a service or as a console app. Is this
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
Transparent Console Application -
Is it possible to run code from a console application withpout the console window being visible?
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
[1.0/1.1] Inserting a Console Application component in an application -
Hi. Is there anyway to insert a console application component or something similar in a window application form?
I'm trying to accept messages from a server and what I have right now is a rich text box displaying the messages. However, I saw some guys did one with having something l
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
Capturing output from another console application in a vb.net console application. -
I searched the Internet and these forums and found quite a bit of information but I can't seem to find what I'm looking for specifically.
I'm trying to execute console applications (such as Ping.exe) from a VB.NET console application and place the output in a string after the applic
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
Console Application inside GUI -
Well, I was wondering If I could load a Console App. Inside a GUI? Here's a pic of what I mean...
Incase it matters, the application (console app.) is written in VB.net.
Thanks,
Deathader
[2.0] How to do a clean exit from console application. -
Based on the result of my checking, I would like to exit out from the console application decently without throwing any exceptions.
static void Main(string[] args)
{
//Check to see if today is a US Holiday.
If(Holiday.IsUSHoliday(DateTime.Today));
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
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
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
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
Show a console window in VB6 App -
Hey All,
Is it possible to show the console window inside a Vb6 application.
The reason is I have to start 2 bat files, 1 initiates another application and 1 produces a console which contains log information. I need the log information console window to be 'part' of the vb6 app.
Console application and MFC-DLL application -
Hi all,
For later use I want to create dll file, internally using MFC. I used MFC because it is so easy to do my job. So used the MFC-DLL Visual C++ project and code my project. Its ok.
Later add another Console Application which support MFC as well. I want to use it to send data
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
[2005] .Net Framework and VB Console App -
I made a console application for a project I'm workin on, but with what I'm doing I need the console application to run without .Net Framework. I was wonder if this is possible. If its not if someone knows a website that explains how to do this in VS C++ 2005 (if that is possible) I co
console Application and databases -
Is there a simple way to include a database in a console application? I was hoping for an easy way like there is when you do a windows application but i can't find it.
Thanks
Adding an Icon to the Console Application [VC++6] -
I made a CONSOLE (Command Line) application (.exe) in VC++6 and I want to add an ICON to the executable (so that when you look at it in Windows you see an icon and not the generic nothing that is currently there).
I know this is a CONSOLE application but the user CAN double-click on i
Close Dos Console -
When I shell a batch file I use vbhide but it still open How can I close the console ?
StdOut in forms application -
How can I write to StdOut from a Vb.net forms application?
When I launch the application from the command promt, I want to return an output. (Like console.write in a console application).
I've tried to create a forms application, and then changed the application type to console..
Making Gui for console Application -
I have a console application which has already been compiled .I have no code with me . I want to convert this application into GUI . What is the best time saving maneuver to do that .
Also the application was released in .net Framework 2.0 and now I'm going to release it for .net
Notify Icon for console Application. -
I have a console application in C# and i would like to have a notify icon.
Have yet to find an example for it. searched google for "Status Tray Icon for C# console application". ... among others. eg "Console Application Notify Icon forC# ."
Help is much appercia
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
Returning Wrong Value -
Just a simple console application that connects to a database.
sql statement returns a job_id...I ask the user to enter the job_id they are interested in...they enter the job_id and I am test what they enter...for some reason when they enter an ID # it is printing the wrong value ba
winapp closes!!! -
hi there!
this forum has it all!
i am making an app, this app has a console and a win app.
the console takes in parameters (switches). depending on the switch i call a method in the winform to execute and do its job.
however, i think it does execute it, either way the app
How to make a console application to not stop running -
Do anyone know how to make a C# console application not to end when the code have beed run.
I start a listning socket in my application but when the application
reach the end of the code the application ends.
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
[2005] Asking for IP -
I have a console application that acts as a server. The default IP is set to localhost. How do I code the application that in the console window it asks for an IP.