Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated...
-
Upload
judith-webster -
Category
Documents
-
view
234 -
download
0
Transcript of Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated...
![Page 1: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/1.jpg)
Visual Basic .NETComprehensive Concepts
and Techniques
Chapter 2
The Visual Basic .NET Integrated Development
Environment
![Page 2: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/2.jpg)
2Chapter 2: The Visual Basic .NET Integrated Development Environment
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
![Page 3: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/3.jpg)
3Chapter 2: The Visual Basic .NET Integrated Development Environment
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 project’s form and code
![Page 4: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/4.jpg)
4Chapter 2: The Visual Basic .NET Integrated Development Environment
Objectives
• Use Visual Basic .NET Help
• Quit Visual Basic .NET
![Page 5: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/5.jpg)
5Chapter 2: The Visual Basic .NET Integrated Development Environment
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
![Page 6: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/6.jpg)
6Chapter 2: The Visual Basic .NET Integrated Development Environment
![Page 7: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/7.jpg)
7Chapter 2: The Visual Basic .NET Integrated Development Environment
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
![Page 8: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/8.jpg)
8Chapter 2: The Visual Basic .NET Integrated Development Environment
![Page 9: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/9.jpg)
9Chapter 2: The Visual Basic .NET Integrated Development Environment
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
![Page 10: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/10.jpg)
10Chapter 2: The Visual Basic .NET Integrated Development Environment
Opening an Existing Project
• Click the Take-home pay calculator solution file
• Click the open button
![Page 11: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/11.jpg)
11Chapter 2: The Visual Basic .NET Integrated Development Environment
Exploring the Visual Basic .NET Integrated Development Environment
• Menu Bar and Toolbars
• Status Bar
• Windows
• Components of a VisualBasic .NET Solution
![Page 12: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/12.jpg)
12Chapter 2: The Visual Basic .NET Integrated Development Environment
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
![Page 13: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/13.jpg)
13Chapter 2: The Visual Basic .NET Integrated Development Environment
![Page 14: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/14.jpg)
14Chapter 2: The Visual Basic .NET Integrated Development Environment
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
![Page 15: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/15.jpg)
15Chapter 2: The Visual Basic .NET Integrated Development Environment
![Page 16: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/16.jpg)
16Chapter 2: The Visual Basic .NET Integrated Development Environment
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
![Page 17: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/17.jpg)
17Chapter 2: The Visual Basic .NET Integrated Development Environment
![Page 18: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/18.jpg)
18Chapter 2: The Visual Basic .NET Integrated Development Environment
Modifying an Existing Project
• Navigating the code window– Object box– Procedure box– Keywords– Code region– Splitter bar
![Page 19: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/19.jpg)
19Chapter 2: The Visual Basic .NET Integrated Development Environment
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:
![Page 20: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/20.jpg)
20Chapter 2: The Visual Basic .NET Integrated Development Environment
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
![Page 21: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/21.jpg)
21Chapter 2: The Visual Basic .NET Integrated Development Environment
![Page 22: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/22.jpg)
22Chapter 2: The Visual Basic .NET Integrated Development Environment
Saving a Project
• Click the Form1.vb [Design] tab
• Click the Save All button on the Standard toolbar
![Page 23: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/23.jpg)
23Chapter 2: The Visual Basic .NET Integrated Development Environment
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
![Page 24: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/24.jpg)
24Chapter 2: The Visual Basic .NET Integrated Development Environment
![Page 25: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/25.jpg)
25Chapter 2: The Visual Basic .NET Integrated Development Environment
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
![Page 26: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/26.jpg)
26Chapter 2: The Visual Basic .NET Integrated Development Environment
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
![Page 27: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/27.jpg)
27Chapter 2: The Visual Basic .NET Integrated Development Environment
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
![Page 28: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/28.jpg)
28Chapter 2: The Visual Basic .NET Integrated Development Environment
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
![Page 29: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/29.jpg)
29Chapter 2: The Visual Basic .NET Integrated Development Environment
![Page 30: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/30.jpg)
30Chapter 2: The Visual Basic .NET Integrated Development Environment
Visual Basic .NET Help
![Page 31: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/31.jpg)
31Chapter 2: The Visual Basic .NET Integrated Development Environment
![Page 32: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/32.jpg)
32Chapter 2: The Visual Basic .NET Integrated Development Environment
Visual Basic .NET Help
• Contents window
• Index window
• Search window
• Dynamic Help window
• Context-Sensitive Help
![Page 33: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/33.jpg)
33Chapter 2: The Visual Basic .NET Integrated Development Environment
Quitting Visual Basic .NET
• Click the Visual Basic .NET Close button on the right side of the title bar
![Page 34: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/34.jpg)
34Chapter 2: The Visual Basic .NET Integrated Development Environment
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
![Page 35: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/35.jpg)
35Chapter 2: The Visual Basic .NET Integrated Development Environment
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 project’s form and code
![Page 36: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/36.jpg)
36Chapter 2: The Visual Basic .NET Integrated Development Environment
Summary
• Use Visual Basic .NET Help
• Quit Visual Basic .NET
![Page 37: Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.](https://reader035.fdocuments.us/reader035/viewer/2022062217/56649ea05503460f94ba2c9f/html5/thumbnails/37.jpg)
Visual Basic .NETComprehensive Concepts
and Techniques
Chapter 2 Complete