|
-
September 30th, 1999, 03:42 PM
#1
Output to command prompt window?
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!
-
October 1st, 1999, 02:02 AM
#2
Re: Output to command prompt window?
MSDN article Q171654 has lots of details and a sample program in VB for manipulating console windows.
-
October 1st, 1999, 09:38 AM
#3
Re: Output to command prompt window?
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...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|