Glen
September 30th, 1999, 03:42 PM
I'm stumped! How do I output text to the command prompt where my EXE was started?
I am writing a utility that will be run from the command prompt. I want the program to run and output some text to the text window, then end.
Thanks!
Lothar Haensler
October 1st, 1999, 02:02 AM
MSDN article Q171654 has lots of details and a sample program in VB for manipulating console windows.
Glen
October 1st, 1999, 09:38 AM
Thanks for the pointer. From that, I also found this:
"You can't create a true console app with VB. You can use a Sub Main in a standard BAS Module to start you application. So you can create a VB application without any user interface. You can have your VB app control a console window so it looks like a console app. This is in the following article: Q171654"
From looking at the Q article, it appears that you simply cannot do what I wanted with Visual Basic!
Five or ten years ago, making a "console app" was simple in almost any programming language and making graphical windows programs was difficult, if not impossible. Now it is the opposite!
Oh well...