The Microsoft View: Module 1: Getting Started
Copyright Course 2559B, Introduction to Visual Basic®.NET Programming with Microsoft®.NET. Lecture 1 Microsoft Training and Certification develops Microsoft Official Curriculum (MOC), including MSDN Training, for computer professionals who design, develop, support, implement, or manage solutions using Microsoft products and technologies. These courses provide comprehensive skills-based training in instructor-led and online formats. © 2002 Microsoft Corporation. All rights reserved. Slightly modified and condensed, D. Eaves, 2004
Basic.NET Concepts Exploring the Development Environment Creating a Visual Basic.NET Project Use Visual Studio.NET Access Data Debug and Deploy Write Code Create Interface Use Visual Studio.NET Overview
?.NET Platform ? ?Visual Studio.NET? ?Visual Basic.NET? ?. NET Framework? ?HELP! Lesson: Basic.NET Concepts.NET
What Is the.NET Platform? Developer Tools XML Web Services Servers Clients User Experiences
How the.NET Framework Works Visual Basic Applications Visual C# Applications Visual C++ Applications.NET Platform Code.NET Framework Class Library Windows XML Web Services ADO.NET Data Types Common Language Runtime Source code compiles as MSIL Programming Services JIT compiler produces machine language
What Is Visual Studio.NET? Visual Studio.NET DesignDevelopDeployDebug Web Forms Tools Web Forms Tools Windows Forms Tools Windows Forms Tools Error Handling Multiple Languages Multiple Languages XML Web Services Tools XML Web Services Tools Data Access
How to Use the Start Page Open ProjectNew Project Get Started What’s New Online Community Headlines Search Online Downloads XML Web Services Web Hosting My Profile
What Is an Application Template? Provides starter files, project structure, and environment settings
How to Use Solution Explorer
Practice: Working with a Visual Basic.NET Project Start a new Visual Basic.NET project based on the Windows Application template Run the project inside the development environment View the project files in Solution Explorer Build an executable file Save and close the project Run the project outside the development environment
Lesson: Exploring the Development Environment Main Menu Toolbar Toolbox Windows Forms Designer Properties Window Properties Window
Menus and Toolbars Main Menu Standard Toolbar New Project Save Form1.vb Undo
The Toolbox Controls to create the user interface
Windows Forms Designer
Code Editor Class Name List Method Name List
Properties Window Set properties such as size, caption, and color
ProgrammingWindowProgrammingWindowPurposePurpose Task List Helps you to organize and manage the work of building your application Output Displays status messages for various features in the development environment Class View Allows you to examine the code behind classes and navigate to symbols in your solution Command Allows you to issue commands or evaluate expressions in the development environment Other Programming Windows Object Browser Allows you to view objects and their members
Online Help System Help Menu Dynamic Help
Practice: Working in the Development Environment Open and run an existing application Examine a form in the Windows Forms designer and the Code Editor Examine property settings for controls Open, close, reopen, and hide the Toolbox Use the Dynamic Help window
Lesson: Creating a Visual Basic.NET Project Create the user interface Write code Test and debug Build and deploy Create a design specification
The Development Process Create a design specification Create the user interface Set properties for the user interface objects Write code to add functionality Test and debug the application Make an executable file Create a setup application
How to Create the User Interface Place controls from the Toolbox onto the form
How to Set Control Properties PropertiesPropertiesSettingsSettings (Name) Textbox1 BackColor Blue Autosize True Visible True Border Fixed 3D Font Microsoft SanSerif, 8.2 pt Text Textbox1
How to Add Code for Controls Private Sub Button1_Click(...)Handles Button1.Click 'Your code goes here End Sub Private Sub Button1_Click(...)Handles Button1.Click 'Your code goes here End Sub In the Class Name list, click the control In the Method Name list, click the event Add code between Private Sub and End Sub
How to Save, Run, and Build the Application Save application Run solution in the development environment Build an executable file
Basic.NET Concepts Exploring the Development Environment Creating a Visual Basic.NET Project Use Visual Studio.NET Access Data Debug and Deploy Write Code Create Interface Use Visual Studio.NET Review