Title: The Visual Basic .NET Integrated Development Environment
1Chapter 2
- The Visual Basic .NET Integrated Development
Environment
2Objectives
- 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
3Objectives
- 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
4Objectives
- Use Visual Basic .NET Help
- Quit Visual Basic .NET
5Starting 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)
7Starting 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)
9Opening 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
10Opening an Existing Project
- Click the Take-home pay calculator solution file
- Click the open button
11Exploring the Visual Basic .NET Integrated
Development Environment
- Menu Bar and Toolbars
- Status Bar
- Windows
- Components of a VisualBasic .NET Solution
12Running 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)
14Modifying 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)
16Modifying 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)
18Modifying an Existing Project
- Navigating the code window
- Object box
- Procedure box
- Keywords
- Code region
- Splitter bar
19Modifying 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
20Modifying 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)
22Saving a Project
- Click the Form1.vb Design tab
- Click the Save All button on the Standard toolbar
23Running 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)
25Documenting 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
26Documenting 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
27Documenting 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
28Documenting 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)
30Visual Basic .NET Help
31(No Transcript)
32Visual Basic .NET Help
- Contents window
- Index window
- Search window
- Dynamic Help window
- Context-Sensitive Help
33Quitting Visual Basic .NET
- Click the Visual Basic .NET Close button on the
right side of the title bar
34Summary
- 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
35Summary
- 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
36Summary
- Use Visual Basic .NET Help
- Quit Visual Basic .NET