• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Ppt lesson 01

Ppt lesson 01






Total Views
Views on SlideShare
Embed Views



0 Embeds 0

No embeds



Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

    Ppt lesson 01 Ppt lesson 01 Presentation Transcript

    • Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic
    • Objectives
      • Explain the purpose of Microsoft Visual Basic.
      • Start Visual Studio 2005.
      • Open an existing Visual Basic project.
      • Explain the purpose of the components on the compiler screen.
    • Objectives (cont.)
      • Run a Visual Basic program.
      • Position a form in a Visual Basic program.
      • Exit Visual Studio 2005.
    • Introduction to Microsoft Visual Studio 2005
      • Microsoft Visual Studio 2005
        • Software development tool
        • Allows you to use a variety of programming languages
      • Combines graphical interface and programming code
        • Makes program development as rapid as possible
    • Starting Visual Studio 2005
      • Visual Studio 2005 can be started from
        • A shortcut on the desktop
        • The Start button and All Programs menu
      • Integrated Development Environment (IDE)
        • Program that includes tools for creating, testing, and running computer programs
    • Starting Visual Studio 2005 (cont.)
    • Opening an Existing Visual Basic Project
      • Visual Studio 2005 stores programs in a group of files called a project.
      • The main project file has a VBPROJ extension.
      • The SLN file is the solution file.
    • Opening an Existing Visual Basic Project (cont.)
      • Opening an existing Visual Basic project
        • Click the Open Project button.
        • Open the SLN file
          • That corresponds with the project you wish to open
    • Opening an Existing Visual Basic Project (cont.)
    • Components of the Compiler
    • Menus and Toolbars
      • Visual Studio 2005 menu bar
        • Contains some menus found in other Windows programs
          • Contains some that are unique to this programming environment
        • More than one toolbar available
          • The Standard toolbar appears by default.
    • Menus and Toolbars (cont.)
    • Menus and Toolbars (cont.)
    • The Solution Explorer
      • Solution Explorer
        • Allows you to see the forms and files that make up your program
      • Use the Solution Explorer
        • To access the forms on which you want to work
    • The Solution Explorer (cont.)
    • The Solution Explorer (cont.)
    • The Solution Explorer (cont.)
    • The Properties Window
      • Objects
        • Pieces that make up a Visual Basic program
      • Each object has characteristics that can be customized.
        • Called properties
      • To see the properties of an object
        • Use the Properties window
    • The Properties Window (cont.)
    • The Properties Window (cont.)
    • The Toolbox
      • The Toolbox
        • Allows you to add objects to forms
        • Has tools for creating objects
          • Command buttons
          • Text boxes
          • Check boxes
          • Option buttons
          • Picture boxes
          • Scroll bars
    • The Toolbox (cont.)
    • Running a Visual Basic Program
      • To run a Visual Basic program
        • Click the Start Debugging button.
          • Found on the Standard toolbar
      • Debug version
        • Can be stopped and examined in the IDE
    • Running a Visual Basic Program (cont.)
    • Exiting Visual Studio
      • Exiting Visual Basic
        • Requires that you close Visual Studio 2005
      • Exit Visual Studio
        • Choose Exit from the File menu.
        • Click the Close box at the right side of the Visual Studio title bar.
    • Summary
      • Microsoft Visual Studio 2005 is a tool that allows you to create Windows programs. Visual Basic is a language you can use in Visual Studio 2005 that allows you to easily create complex programs.
      • Visual Studio 2005 can be started from a shortcut in the All Programs (or Programs) menu or from the desktop.
    • Summary (cont.)
      • A Visual Studio 2005 project is made up of several files. Information about a project is stored in a file with a VBPROJ extension. A collection of projects is called a solution. Information about a solution is stored in a file with an SLN extension. To open a Visual Studio 2005 project, you simply have to open the SLN file.
    • Summary (cont.)
      • Visual Basic has some menu items found in other Windows programs and some menu items that are unique to Visual Studio 2005.
      • The Standard toolbar appears by default and contains buttons for frequently used Visual Studio 2005 commands.
    • Summary (cont.)
      • The Solution Explorer allows you to see and open the forms and other files that make up a project.
      • The Properties window lets you view the characteristics, or properties, of the objects that make up a Visual Basic program. The Properties window also allows you to make changes to those properties.
    • Summary (cont.)
      • The toolbox holds the tools that allow you to add objects, such as command buttons, to a form.
      • To run a Visual Basic program,click the Start Debugging button from the Standard toolbar.
    • Summary (cont.)
      • Exit Microsoft Visual Studio by choosing Exit from the File menu or by clicking the Close box on the Microsoft Visual Studio title bar.