1 / 12

Tutorial 1 An Introduction to Visual Basic .NET

Tutorial 1 An Introduction to Visual Basic .NET. Creating a Windows-Based Application in Visual Basic .NET Lesson A. Lesson A Objectives. After completing this lesson, you will be able to: Start and customize Visual Studio .NET Create a Visual Studio .NET solution and project

Télécharger la présentation

Tutorial 1 An Introduction to Visual Basic .NET

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Tutorial 1An Introduction to Visual Basic .NET

  2. Creating a Windows-Based Application in Visual Basic .NET Lesson A

  3. Lesson A Objectives After completing this lesson, you will be able to: • Start and customize Visual Studio .NET • Create a Visual Studio .NET solution and project • Solution: container to store multiple projects and files even different types of code • Project: stores files for one project • Set the properties of an object • Save & close solution, project, and form (.vb files) • Open an existing solution

  4. Starting and Customizing Visual Studio .NET • Visual Studio .NET is Microsoft’s newest integrated development environment (IDE) • Includes programming languages such as Visual Basic .NET, C++ .NET, and C# .NET • A Windows-based application has a Windows user interface and runs on a desktop computer • A user interface is what you see and interact with when using an application • A Web-based application, on the other hand, has a Web user interface and runs on a server

  5. The Visual Studio .NET Start Page Links

  6. Visual Studio .NET Recent Projects Solution Explorer Dynamic Help Toolbox

  7. Starting a New Project Installed .NET Products Type of Project Name of Project Name and Location Of Project

  8. Link Purpose Get Started Create new projects and open existing projects What’s New Access information about the new features in Visual Studio .NET and check for Visual Studio .NET updates Online Community Contact fellow developers online Headlines View links to the latest news from the MSDN Online Library, including information on seminars, trade shows, and conferences, as well as training opportunities offered by Microsoft Search Online Search the MSDN Online Library Downloads Access the latest product updates and sample code available for download XML Web Services Search for XML Web Services to include in your applications, and publish your own XML Web services Web Hosting Post Web applications, for a fee, on servers provided by third-party Internet Service Providers My Profile Customize various program settings in the IDE Purpose of the Links Included on the Start Page

  9. Toolbox (auto-hidden) Visual Basic .NET Project information Windows Form object Properties window

  10. More on the Toolbox Appendix A p. 721 has a complete list The first tools we will use include: • Button • Label • Textbox

  11. More on the Properties Window The first properties we will change include: • Name – use 3-letter prefix naming convention See http://www.developerfusion.com/show/52/3/ • Text • Backcolor • Background image • Size – measured in pixels • Start position/location

  12. The Code Window Double click on an object to open to code window. For example, at the top of the code window: Public Class Form1 Inherits System.Windows.Forms.Form Form1 is the object name All visual studio .net objects are derived from system Windows is derived from class system Forms is derived from class windows Form is derived from class forms

More Related