Visual Studio - Lecture 1
Visual Studio - Lecture 1
Studio.NET
By
Dr. Salamudeen Alhassan
Content Overview
Introduction
◦ .Net Framework
◦ Object-Oriented Programming
Visual Studio
◦ IDE
◦ New Project
◦ Solution Explorer
◦ Toolbox
◦ Editors and Designers
◦ Properties window
◦ Build and Debug Tools
Introduction
.NET Framework
It is a software that runs primarily on
Microsoft Windows.
It includes a large library and supports
Integrated Common
Visual Basic
Development Language
compiler
Environment Runtime
1 2 3
Solution Assembly
Project
Intermediate Language (IL)
Source files
Class references
Project and Solution Concepts
User creates a new project in Visual Studio
◦ A solution and a folder are created at the same time with the same
name as the project
◦ The project belongs to the solution
◦ Multiple projects can be included in a solution
Solution
◦ Contains several folders that define an application’s structure
◦ Solution files have a file suffix of .sln
Project: contains files for a part of the solution
◦ Project file is used to create an executable application
◦ A project file has a suffix of .vbproj
◦ Every project has a type (Console, Windows, etc.)
◦ Every project has an entry point: A Sub procedure named Main or
a Form
Project and Solution Folders/Files
Solution folder
◦ Solution file (.sln)
◦ Project folder
Project file (.vbproj)
Visual Basic source files (.vb)
My Project folder: contains configuration information
common to all projects
The file AssemblyInfo.vb contains assembly metadata
The References folder contains references to other
assemblies
The bin folder contains the executable file produced as
a result of compiling the application
Example 1
The Wage Calculator
◦ Design a program in VB.NET to compute the Gross
Pay earned by a worker given the Hours worked and
hourly pay rate.