You are here:About>Computing & Technology>Visual Basic> Learn VB.NET> Using Modules and Procedures - Part 2
About.comVisual Basic
Newsletters & RSSEmail to a friendSubmit to Digg

Chapter 10 - Using Modules and Procedures - Part 2

From Dan Mabbutt,
Your Guide to Visual Basic.
FREE Newsletter. Sign Up Now!

DOS Lives On in VB.NET!

Console Project
Console Project
Previous | Next >>

There is another missing topic that probably should be in this chapter. But the About Visual Basic Complete Course will fill the gap. Some very technical VB.NET books present nearly all of their examples using Console Programs. These are programs that only require the basic operating system to run. Or, put another way, they're DOS programs.

In VB 6 and earlier, the main goal was to make it possible for programmers to create a Windows program in less time than it took to build Rome. That meant that these versions were focused on creating Windows Forms and inserting your program code in them. Creating a console program in VB 6 was actually not too easy.

When you start a new project, you have your choice of different templates that you can use. Console Application is one of the templates. VB.NET 'supports' Windows applications, but it's not really 'built around' them like VB 6 is. VB.NET was built for the future where many ... many most ... programs just won't need or use Forms anymore. Maybe not even Windows!

(By the way, if you installed the VB.NET Learning Edition that is packaged with our text book, you might be wondering why you don't have all the different projects pictured above. These extra project templates are one of the things that are left out of that edition.)

  1. DOS Lives On in VB.NET!
  2. Console Applications
  3. Building and Running a Console Application
  4. Building and Running a Console Application Continued
  5. Assignment from the previous lesson - Looping with Try ... Catch
  6. Assignment Solution, Continued
  7. The Rest of the Code

Previous | Next >>

 All Topics | Email Article | | |
Advertising Info | News & Events | Work at About | SiteMap | Reprints | HelpOur Story | Be a Guide
User Agreement | Ethics Policy | Patent Info. | Privacy Policy©2008 About, Inc., A part of The New York Times Company. All rights reserved.