Some development tools, like Visual C and Delphi, allows the developer to easily create console applications.These tools provides specific methods and functions for writing to the console screen and their compiler also provides special option for creating console executable.Unfortunately, Visual Basic doesnt support console applications.Even if you use the Win32 API for writing into the console screen.
Your application wont work, because the Visual Basic compiler always creates GUI application and it doesnt provide any compiler options for changing it to console application. So, you can develop a console application in Visual Basic, create an executable file, and then, use my utility to convert the executable into a console application. You can use it by opening the appmodechange project from Visual Basic IDE. In order to create a console application in Visual Basic, you have to use Win32 API calls. Private Declare Function GetConsoleScreenBufferInfo Lib kernel32. Private Declare Function SetConsoleTextAttribute Lib kernel32. Private Const FOREGROUNDINTENSITY H8 text color is intensified. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |