Console Line Editor in VB.NET

Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
1 post Page 1 of 1
Contributors
User avatar
Coden
Member
Member
Posts: 35
Joined: Wed Dec 09, 2009 7:31 am

Console Line Editor in VB.NET
Coden
[Download Project http://download48.mediafire.com/uwb9idm ... or_src.zip ]

In .NET 1.x, console applications were extremely limited. You had extremely limited keyboard handling, and limited control over colors and cursor position. .NET 2.0 expanded the Console class to gain control over the keyboard, text positioning, and colors. These new Console properties and methods give me almost as much control as I had in the days of QuickBasic; the syntax is more logical than QuickBasic�s syntax.

Just for a kick, I decided to write a line editor as a simple lab to exercise Console's new features. This program imitates some of the functionality of DOS�s Edlin, with some object orientation.

In .NET 1.x, we were stuck with Console.ReadLine, i couldn�t see anything until the user pressed Enter.
Image

HAPPT XMAS EVERYONE!
regards.
1 post Page 1 of 1
Return to “Tutorials”