Home
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
 
 
Old Pages
 
Old Index
Site Map
What's New
 
Books
How To
Tips & Tricks
Tutorials
Stories
Performance
Essays
Links
Q & A
New in VB6
Free Stuff
Pictures
 
 
 
 
 
 
 
TitleMake a console application
Keywordsconsole application, stdin, stdout, stderr
CategoriesWindows
 
This example uses these API functions to create and interact with a console window:

AllocConsoleFreeConsole
GetStdHandleReadConsole
SetConsoleModeSetConsoleTextAttribute
SetConsoleTitleWriteConsole

This example displays a prompt, reads input from the keyboard, and displays a response. For a description of the program, see the article Writing Console-Mode Applications in Visual Basic by Scott Lloyd.

 
 
Copyright © 1997-2001 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated