INTRODUCTION TO VISUAL BASIC 2010

Similar documents
Microsoft Windows XP. Operating System. Starting Windows XP. You might be asked to enter your username and password

Dive Into Visual C# 2008 Express

Welcome Application. Introducing the Visual Studio.NET IDE. Objectives. Outline

Microsoft Visio 2010

Text box. Command button. 1. Click the tool for the control you choose to draw in this case, the text box.

Program and Graphical User Interface Design

Tutorial 2 - Welcome Application Introducing, the Visual Studio.NET IDE

Starting Visual Studio 2005

Excel window. This will open the Tools menu. Select. from this list, Figure 3. This will launch a window that

Lab 19: Excel Formatting, Using Conditional Formatting and Sorting Records

PROGRAMMING LANGUAGE 2 (SPM3112) NOOR AZEAN ATAN MULTIMEDIA EDUCATIONAL DEPARTMENT UNIVERSITI TEKNOLOGI MALAYSIA

Skill Area 336 Explain Essential Programming Concept. Programming Language 2 (PL2)

Dive Into Visual C# 2010 Express

Blue Mountain Community College Website Maintenance Instructions

FrontPage Help Center. Topic: FrontPage Basics

A Quick Tour GETTING STARTED WHAT S IN THIS CHAPTER?

Setting up Containers

Part I. Integrated Development Environment. Chapter 2: The Solution Explorer, Toolbox, and Properties. Chapter 3: Options and Customizations

Business Insight Authoring

Advanced Professional Solutions Ltd. Xcede Professional Accounting Red Sky Data Extraction Internal Document

Introduction. Getting Started. Selecting a Template. 1 of 1

SenCom Jan. 11, 2013 Demonstration on Windows 7 Desktop, Windows Explorer & File Mgmt., and using Thumb/Flash Drives These topics by Mike Smith

Since you can designate as many symbols as needed as baseline symbols it s possible to show multiple baselines with unique symbology.

Getting started 7. Setting properties 23

Information Warehouse - Report Studio

How do I make a basic composite or contact sheet?

2 USING VB.NET TO CREATE A FIRST SOLUTION

Tivoli Common Reporting V Cognos report in a Tivoli Integrated Portal dashboard

build a digital portfolio in WebPlus X4

To learn more about the Milestones window choose: Help Help Topics Select the Index tab and type in the feature. For Example toolbox.

Using Microsoft Word. Paragraph Formatting. Displaying Hidden Characters

Newforma Contact Directory Quick Reference Guide

AGent VERSO. Version 5.1 Product Information Bulletin. Printing Spine and Pocket Labels

1 Introduction to Excel Databases April 09

Using Visual Basic Studio 2008

Locate your Advanced Tools and Applications

What is EasyWeb?! 3 EasyWeb QuickStart! 4. Publishing Your Website! 10

Status Bar: Right click on the Status Bar to add or remove features.

Getting Started Guide

Introductionto the Visual Basic Express 2008 IDE

Secure MaxMarkup

COURSE CONTENT EXCEL BASIC ONE DAY

6.3. Applying Designs CHAPTER

Bose ControlSpace Designer Software. User Guide

How to Use Serif WebPlus 10

eschoolplus+ Cognos Query Studio Training Guide Version 2.4

PowerPoint Launching PowerPointX

17. Introduction to Visual Basic Programming

Navigate to Cognos Cognos Analytics supports all browsers with the exception of Microsoft Edge.

1. Navigation and menus

Double-click on the PowerPoint icon on the desktop. Another way to access the program is to click on the Start button>programs>powerpoint.

Window (further define the behaviour of objects)

Borland StarTeam Toolbar Utility Help

Lesson 4 Customize the ToolBox

ArtOfTest Inc. Automation Design Canvas 2.0 Beta Quick-Start Guide

Outlook Quick Start Guide

Introduction to Microsoft FrontPage

How to set up an Amazon Work Profile for Windows 8

Scan to PC Desktop Professional v7.0 Orientation Guide

CBCL Limited Tool Palettes Tutorial 2012 REV. 01. CBCL Design Management & Best CAD Practices. Our Vision

Introduction to the Visual Studio.NET Integrated Development Environment IDE. CSC 211 Intermediate Programming

PowerPoint Spring 2002

Discovering Computers & Microsoft Office Office 2010 and Windows 7: Essential Concepts and Skills

Getting Started Guide. Sage MAS Intelligence 500

Sage 50 U.S. Edition Intelligence Reporting Getting Started Guide

Computer Science 110. NOTES: module 8

Microsoft Windows 7 - Illustrated Unit A: Introducing Windows 7

Getting started 7. Setting properties 23

Getting to Know PowerPoint. Use IT+

Falcon UniPro Stimulus Test Editor User Manual

Outlook 2003, Level 2 Page 1

LESSON A. The Splash Screen Application

Using Modules in Canvas

Agenda. First Example 24/09/2009 INTRODUCTION TO VBA PROGRAMMING. First Example. The world s simplest calculator...

Customise your module structure

Reading: Managing Files in Windows XP

Creating Screen Shots and Using Textboxes to Add Information and De-Identify Data for Patient-Centered Medical Home (PCMH) Documentation

UNIT 3 ADDITIONAL CONTROLS AND MENUS OF WINDOWS

streamed Video On-Demand

PREMIUM. Language Learning Resource Center Department of Information Technology Saint Michael s College

Microsoft Visio 2010: An Introduction

Getting Started KIDASA So ware, Inc. All Rights Reserved

Programming in C# Project 1:

Query Studio Training Guide Cognos 8 February 2010 DRAFT. Arkansas Public School Computer Network 101 East Capitol, Suite 101 Little Rock, AR 72201

ProvideX. NOMADS Enhancements

ILLUSTRATOR. Introduction to Adobe Illustrator. You will;

Dell Canvas Layout. Version 1.0 User s Guide

Creating custom reports is for advanced users only. It is the sole responsibility of the user to debug any custom reports.

Feature Review Guide. April Published By. DATA S H E E T Feature Guide Review (April 2018) Smithe Street, Vancouver, BC V6B 0P5, Canada

Microsoft Outlook 2003 Microsoft screen shots used in accordance with Microsoft rules to be viewed at URL

Access. Basics PRESENTED BY THE TECHNOLOGY TRAINERS OF THE MONROE COUNTY LIBRARY SYSTEM

Customizing the Altium Designer Resources

Quick Guide FAST HR. For more resources, including a guide on FAST HR codes, visit # Instructions Screenshot

Dr. Cliff Jolliffe. My first ACS.NET Application. Microsoft C#

Microsoft Office 2013 (or Office) is a collection of software programs.

How to make a power point presentation. Dr. Mohamed F. Foda

Awesome Airliners. Objectives:

Management Reports Centre. User Guide. Emmanuel Amekuedi

Microsoft Visual Basic 2005 CHAPTER 5. Mobile Applications Using Decision Structures

Workflow for efilecabinet On-Premise User Guide

Transcription:

INTRODUCTION TO VISUAL BASIC 2010 Microsoft Visual Basic is a set of programming tools that allows you to create applications for the Windows operating system. With Visual Basic, even a beginner can create professional-looking applications. Visual Basic combines the BASIC programming language used by programmers all over the world with a Graphical User Interface (or GUI). A GUI lets you use both text and graphics to communicate with the computer. When you learn Visual Basic, you must learn more than just a new set of commands. You must also master the Integrated Development Environment (IDE). For every VB project, you will need to complete the following: 1. DESIGNING THE INTERFACE Designing the interface is done interactively without the need to program. Screen objects (or controls) are selected from the toolbox, and placed and sized using the mouse. When you launch VB, the environment is in design mode, presenting a blank form, labelled Form1. This is where the interface (or the first screen of the interface) is constructed. To place a control on Form1, double click on a toolbox icon. That object appears in the centre of the form. From here the object may be dragged into place using the mouse. 2. SETTING PROPERTIES Properties are set using the properties window. If this is not visible, press F4 or use the Windows menu to invoke it. To set the properties of a screen object, click on the object. The object box (under the properties title bar) displays the name of the object. This is a list box that can be used to select any of the objects on the current form. The property value can be edited by typing, or by selecting from a pre-defined list of possible values (obtained by clicking on the down arrow to the right of the settings list if available). 3. WRITING PROGRAM CODE You will need to write program code to specify what will happen as users interact with the screen objects. This step is often described as providing the 'functionality'. The final step is writing the code that activates the application, or makes it run. Once the correct control object has been selected the next step is to choose which event the control is going to respond to. Introduction to Visual Basic 2010 Page 1 of 8

VISUAL BASIC IDE When you first start Visual Studio, you will see the following Start Page which contains a list of links to resources, including the latest developments in Visual Basic and information on advanced programming topics. Introduction to Visual Basic 2010 Page 2 of 8

To create a new project, you can click on the New Project link or on the New Project icon from the Toolbar: New Project Create a new project Introduction to Visual Basic 2010 Page 3 of 8

The next step is to click on the Windows Forms Application template, which is an application that executes within a Windows operating system and typically has a graphical user interface. Click on Windows Forms Application Introduction to Visual Basic 2010 Page 4 of 8

By default, Visual Basic assigns the name WindowsApplication1 to the project and places these files in a directory named WindowsApplication1. To rename the project, simply type the name of the project in the Name field. For our first project, we will use the project name First VB Project. Change the name of the project to First VB Project Introduction to Visual Basic 2010 Page 5 of 8

Once you have selected a template and renamed your project, the project appears in Design View. Solution Explorer Form Properties Window FORM DESIGNER The Form represents the main window the Windows Application that you are creating. Forms can be enhanced by adding controls, such as Buttons, Labels, TextBoxes, etc. You can add controls onto the Form by activating the Toolbox. To activate the Toolbox you just need to click on the Toolbox button along the left-hand side of the IDE. The Toolbox groups prebuilt controls into categories. When you click a group name, the Toolbox displays all the controls in that group. Introduction to Visual Basic 2010 Page 6 of 8

Toolbox SOLUTION EXPLORER The Solution Explorer window provides access to solution files and allows you to manage files visually. Show All Files Refresh View Code Properties View Designer Introduction to Visual Basic 2010 Page 7 of 8

PROPERTIES WINDOW The Properties Window displays the properties for Form and control objects. Properties specify an object s attributes, such as its size, colour and position. The Properties window allows you to set object properties visually without writing code. Object s name Categorized icon Alphabetical icon List of object properties List of property values Description of selected property Description of selected property Introduction to Visual Basic 2010 Page 8 of 8