1 / 31

Microsoft Visual Basic 2005 BASICS

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.).

lewis-olsen
Download Presentation

Microsoft Visual Basic 2005 BASICS

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. Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic

  2. 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. Microsoft Visual Basic 2005 BASICS

  3. Objectives (cont.) • Run a Visual Basic program. • Position a form in a Visual Basic program. • Exit Visual Studio 2005. Microsoft Visual Basic 2005 BASICS

  4. 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 Microsoft Visual Basic 2005 BASICS

  5. 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 Microsoft Visual Basic 2005 BASICS

  6. Starting Visual Studio 2005 (cont.) Microsoft Visual Basic 2005 BASICS

  7. 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. Microsoft Visual Basic 2005 BASICS

  8. 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 Microsoft Visual Basic 2005 BASICS

  9. Opening an Existing Visual Basic Project (cont.) Microsoft Visual Basic 2005 BASICS

  10. Components of the Compiler Microsoft Visual Basic 2005 BASICS

  11. Menus and Toolbars • Visual Studio 2005 menu bar • Contains some menus found in other Windows programs • Contains some that are uniqueto this programming environment • More than one toolbar available • The Standard toolbar appears by default. Microsoft Visual Basic 2005 BASICS

  12. Menus and Toolbars (cont.) Microsoft Visual Basic 2005 BASICS

  13. Menus and Toolbars (cont.) Microsoft Visual Basic 2005 BASICS

  14. 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 Microsoft Visual Basic 2005 BASICS

  15. The Solution Explorer (cont.) Microsoft Visual Basic 2005 BASICS

  16. The Solution Explorer (cont.) Microsoft Visual Basic 2005 BASICS

  17. The Solution Explorer (cont.) Microsoft Visual Basic 2005 BASICS

  18. 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 Microsoft Visual Basic 2005 BASICS

  19. The Properties Window (cont.) Microsoft Visual Basic 2005 BASICS

  20. The Properties Window (cont.) Microsoft Visual Basic 2005 BASICS

  21. 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 Microsoft Visual Basic 2005 BASICS

  22. The Toolbox (cont.) Microsoft Visual Basic 2005 BASICS

  23. 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 Microsoft Visual Basic 2005 BASICS

  24. Running a Visual Basic Program (cont.) Microsoft Visual Basic 2005 BASICS

  25. 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. Microsoft Visual Basic 2005 BASICS

  26. 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. Microsoft Visual Basic 2005 BASICS

  27. 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. Microsoft Visual Basic 2005 BASICS

  28. 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. Microsoft Visual Basic 2005 BASICS

  29. 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. Microsoft Visual Basic 2005 BASICS

  30. 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. Microsoft Visual Basic 2005 BASICS

  31. 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. Microsoft Visual Basic 2005 BASICS

More Related