Languages Visual Basic & VB.NET Visual Basic Windows API Call/ Explanation  

Console API Class

download download  
important code information
author:
Richard Caetano
minimum requirements:
Console API Class description

Visual Basic doesn't have the ability to read or write from the console. To accomplish this, the Win32 API exports a set of functions that interacts with a console window using handles. clsWinConsole is a simple VB class that encapsulates the code needed to open, write/read, and close a console window. Here is a code snippet that demonstrates how to use clsWinConsole:
Public Sub Main() Dim console as New clsWinConsole Dim inp As String console.Show console.WriteText "Text" inp = console.ReadText console.WriteText inp console.Hide End Sub



File List:
clsWinConsole.cls5Kb

Similar code
FIXED CD TRAY OPENER & CLOSER (Popularity: ) : This one's a fixed version of the last one. Thanks to the help of others, i've included the CLOSE function... This is a ZIPPED version as well, so it comes with the EXE version and the source code! I still ...
A complete ping code using API Code and ICMP ! very easy (Popularity: ) : Is a API code that allows the application to make a PING to host, just as the command "ping" made in the CMD of Windows, which will respond suitably
Form On Top (Popularity: ) : This will put your forms on top. Works good. It uses API calls to do this. Hope it helps you. Also Please visut my site, i got some video tutorials there about visual basic.
A Better API Error Lookup (Popularity: ) : Queries Windows for the meaning of an API error number, and allows you to search a range of numbers... the results get placed in a list
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Rate me
supported os
stats
downloads 11
version
size in Kb 2
popularity   597/7913374
user rating 4/10
ad


New Code
Popular Code