Visual Basic 'Net AAPP00832 - PowerPoint PPT Presentation

1 / 21
About This Presentation
Title:

Visual Basic 'Net AAPP00832

Description:

Once Visual Studio has started, select File - New - Project. Slide 8 (of 21) ... When the application is run, the title of the program is shown as 'Form1' ... – PowerPoint PPT presentation

Number of Views:47
Avg rating:3.0/5.0
Slides: 22
Provided by: API57
Category:
Tags: aapp00832 | basic | net | run | up | visual

less

Transcript and Presenter's Notes

Title: Visual Basic 'Net AAPP00832


1
Visual Basic .NetAAPP008-3-2
  • Introduction to Visual Basic .NET
  • Lecture 3

2
Topic Structure of Lesson
  • Visual Basic .NET
  • How to access Visual Basic .NET
  • Creating a Windows application
  • Overview of various interfaces in the development
    environment

3
Learning Outcomes
  • By the end of this lesson you should
  • be able to
  • Recognize the main features in the Visual Basic
    .NET Integrated Development Environment (IDE)
  • Describe some of the different types of
    components contained in the toolbox
  • Create, compile and execute simple Visual Basic
    .NET programs

4
Key Terms you must be able to use
  • If you have mastered this topic, you should be
    able to use the following terms correctly in your
    assignments and exams
  • Integrated Development Environment (IDE)
  • Toolbox
  • Designer View
  • Solution Explorer
  • Properties Window

5
Visual Basic .NET
  • Visual Basic .NET 2008
  • Modern object-oriented programming language for
    development
  • Designed specifically for the .NET Framework

6
Starting Visual Basic .NET
  • Click on Start -gt Programs -gt Microsoft Visual
    Studio 2008 -gt Microsoft Visual Studio 2008
    (default location)

7
Starting Visual Basic .NET
  • Once Visual Studio has started, select File -gt
    New -gt Project

8
Starting Visual Basic .NET
  • Select Visual Basic -gt Windows Application -gt OK

9
Integrated Development Environment (IDE)
  • The development environment consists of several
    useful visual components.

Designer View
Solution Explorer
Toolbox
Properties Window
10
Toolbox
  • Contains a list of all the components available
    to the user when creating the user interface of
    an application
  • If the toolbox is not visible, select View -gt
    Toolbox

11
Designer View
  • WYSIWYG (What You See Is What You Get) interface
    of the designed application
  • Components selected from Toolbox, then drawn
    here

12
Solution Explorer
  • Allows users to view and manage (i.e. add,
    rename, delete) their projects and associated
    files.

13
Properties Window
  • Allows user to view and edit the various
    properties/behaviors that are associated with a
    selected component in the Designer view.

14
Creating A Simple Application
  • From the Toolbox, click on Label
  • In the Designer View, click anywhere within area.
  • A label will be created with the default text
    Label1.

15
Creating A Simple Application
  • Change the text from Label1 to Hello World!.
  • Make sure the label is selected
  • In the properties window, look for Text in the
    left column, and change its value in the right
    column to Hello World!

16
Testing Application
  • To test the application, click on the
  • PLAY button. To stop, click on the x at
    the upper right corner

17
Quick Review
  • When the application is run, the title of the
    program is shown as Form1. Change this to My
    First Program.
  • Change the font size of the label to 16 and its
    font color to red.

18
Retrieving your VB Program
  • VB .Net stores you program in a folder called
    Visual Studio 2008, usually in the My Documents
    folder
  • Open VB .Net and retrieve your solution with the
    following
  • File/OpenProject/MyDocuments/
  • VisualStudio2008/Projects/name/name.sln

19
Summary of Main Teaching Points
  • What is Visual Basic .NET 2005
  • How to access Visual Basic .NET
  • Overview of various interfaces in the Integrated
    Development Environment (IDE)
  • Creating a simple windows application

20
Next Session
  • Developing a VB .NET program
  • Operators
  • Event procedures
  • I/O boxes

21
Question and Answer Session
  • Q A
Write a Comment
User Comments (0)
About PowerShow.com