The Visual Basic .NET Integrated Development Environment - PowerPoint PPT Presentation

1 / 36
About This Presentation
Title:

The Visual Basic .NET Integrated Development Environment

Description:

Navigating the Code Window. Click the Form1.vb tab at the top of the main work area ... Search window. Dynamic Help window. Context-Sensitive Help. 33 ... – PowerPoint PPT presentation

Number of Views:327
Avg rating:3.0/5.0
Slides: 37
Provided by: csIu
Category:

less

Transcript and Presenter's Notes

Title: The Visual Basic .NET Integrated Development Environment


1
Chapter 2
  • The Visual Basic .NET Integrated Development
    Environment

2
Objectives
  • Start Visual Basic .NET
  • Customize the Visual Basic .NET integrated
    development environment
  • Open a Visual Basic .NET project
  • Describe the basic components of the Visual Basic
    .NET integrated development environment
  • Run a Visual Basic .NET project

3
Objectives
  • Set a property of a control
  • Navigate the code window
  • Modify code in an existing project
  • Save a Visual Basic .NET project
  • Print a Visual Basic .NET projects form and code

4
Objectives
  • Use Visual Basic .NET Help
  • Quit Visual Basic .NET

5
Starting and Customizing Visual Basic .NET
  • Integrated Development Environment (IDE)
  • Click the Start button on the taskbar and then
    point to All Programs on the Start menu
  • Point to Microsoft Visual Studio .NET on the All
    Programs submenu
  • Point to Microsoft Visual Studio .NET on the
    Microsoft Visual Studio .NET submenu
  • Click Microsoft Visual Studio .NET

6
(No Transcript)
7
Starting and Customizing Visual Basic .NET
  • Click the My Profile link on the left side of the
    Start Page
  • Click the Profile box arrow
  • Click Visual Basic Developer in the Profile list
  • Click the Get Started link on the left side of
    the Start Page

8
(No Transcript)
9
Opening an Existing Project
  • Insert the Data Disk in drive A
  • Click the Open Project button
  • Select 3 ½ Floppy (A) in the Look in box
  • Double-click the Chapter 2 folder
  • Double-click the Take-home pay calculator folder

10
Opening an Existing Project
  • Click the Take-home pay calculator solution file
  • Click the open button

11
Exploring the Visual Basic .NET Integrated
Development Environment
  • Menu Bar and Toolbars
  • Status Bar
  • Windows
  • Components of a VisualBasic .NET Solution

12
Running a Project
  • Click the Start button on the Standard toolbar
  • Click the Yearly salary box up arrow, until the
    number 42,000 displays
  • Drag the Retirement plan contribution rate
    trackbar to the fourth tick mark, which
    represents 3
  • Click Individual in the Insurance Plan area
  • Click the Close button on the Take-Home Pay
    Calculator application window title bar

13
(No Transcript)
14
Modifying an Existing Project
  • Modifying a Property of a Control
  • Click the Weekly take-home pay Label control on
    the Form1 form in the main work area
  • Scroll the Properties list until the Text
    property is visible
  • Double-click the Text property
  • Type Biweekly take-home pay and press the ENTER
    key

15
(No Transcript)
16
Modifying an Existing Project
  • Navigating the Code Window
  • Click the Form1.vb tab at the top of the main
    work area
  • Drag the code window scroll box to the bottom of
    the code window

17
(No Transcript)
18
Modifying an Existing Project
  • Navigating the code window
  • Object box
  • Procedure box
  • Keywords
  • Code region
  • Splitter bar

19
Modifying an Existing Project
  • Modifying Code in the Code Window
  • Drag the code window scroll box up until the code
    displays in the code window as shown

20
Modifying an Existing Project
  • Modifying Code in the Code Window
  • Click to the right of the number 52 in the sixth
    code line of the fourth code region
  • Press the BACKSPACE key twice to delete the
    number 52
  • Type 26 and do not press the ENTER key

21
(No Transcript)
22
Saving a Project
  • Click the Form1.vb Design tab
  • Click the Save All button on the Standard toolbar

23
Running a Project to Test Changes
  • Click the Start button on the Standard toolbar
  • Click the Yearly salary box up arrow until the
    number 42,000 displays
  • Drag the Retirement plan contribution rate
    trackbar to the fourth tick mark, which
    represents 3
  • Click Individual in the Insurance Plan area
  • Click the Close button on the Take-Home Pay
    Calculator application window title bar

24
(No Transcript)
25
Documenting the User Interface Design of a Form
  • With the Take-home pay calculator project open in
    design time, press the PRINT SCREEN key
  • Click the Start button on the Windows taskbar and
    then point to All Programs on the Start menu
  • Point to Accessories on the All Programs submenu,
    and then point to Paint on the Accessories submenu

26
Documenting the User Interface Design of a Form
  • Click Paint
  • When Paint opens, click Edit on the menu bar
  • Point to Paste on the Edit menu
  • Click Paste
  • Click the File menu and select Print

27
Documenting the User Interface Design of a Form
  • Click the Print button
  • Click the Close button on the Paint window title
    bar and do not save the pasted image

28
Documenting Code for a Form
  • Click the Form1.vb tab to display the form code
    in the code window
  • Click File on the menu bar
  • Click Print on the File menu
  • Click the OK button
  • Click the Form1.vb Design tab

29
(No Transcript)
30
Visual Basic .NET Help
31
(No Transcript)
32
Visual Basic .NET Help
  • Contents window
  • Index window
  • Search window
  • Dynamic Help window
  • Context-Sensitive Help

33
Quitting Visual Basic .NET
  • Click the Visual Basic .NET Close button on the
    right side of the title bar

34
Summary
  • Start Visual Basic .NET
  • Customize the Visual Basic .NET integrated
    development environment
  • Open a Visual Basic .NET project
  • Describe the basic components of the Visual Basic
    .NET integrated development environment
  • Run a Visual Basic .NET project

35
Summary
  • Set a property of a control
  • Navigate the code window
  • Modify code in an existing project
  • Save a Visual Basic .NET project
  • Print a Visual Basic .NET projects form and code

36
Summary
  • Use Visual Basic .NET Help
  • Quit Visual Basic .NET
Write a Comment
User Comments (0)
About PowerShow.com