Console Lab 1
- Before getting started, create a Folder on the device where you plan to store your work (e.g.
a flash drive). This is the location where all of your VB projects will be stored. Name it something like
VB Programs for example.
- Start up Visual Studio.Net, select Tools dropdown, Import and Export Settings, Reset All Settings, No,
General Development Settings.
- Next examine the Start Page, noticing the File, New Project and the Open Project (implies project exists) dropdown.
- Select File, New Project, and visually examine the New Project page, noticing the Project Types list
and the Templates list. Visual Basic Projects should always be selected (select if not). Then select
Console Application (if not already selected).
- In the Name box towards the bottom of the form, name your application HelloWorld.
- Enter the Location for the solution/project files to reside from step 1 above on removable media. Note that your project files are
NOT to remain on the school's hard drive (e.g. C:). Uncheck "Create directory for solution".
When this is complete, click OK.
- Once inside the console application IDE, visually examine and familiarize yourself with the console
portions of the IDE.
- Change the name of the module from Module1.vb to HelloWorld.vb (right click, rename).
- Now run/start the application. What happened (examine the task window)?
- Once this is complete, add an output statement using the WriteLine method found in the Console class to
display the string text "Hello World!". Make sure this runs without errors.
- You may also wish to add a ReadLine method which is also found in the Console class to keep your console window
from disappearing.
- Make sure you can save all of your changes once all of the above are complete.