Introduction to Visual Basic 2010

Slides:



Advertisements
Similar presentations
CS0004: Introduction to Programming Visual Studio 2010 and Controls.
Advertisements

Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
 2002 Prentice Hall. All rights reserved. Chapter 2 - Introduction to the Visual Studio.NET IDE Outline 2.1Introduction 2.2Overview of the Visual Studio.NET.
1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
Introduction to Visual Basic. What is Visual Basic? An environment for developing Windows applications Components –A GUI (Graphical User Interface - gooey)
Fundamentals of Programming in Visual Basic 3.1 Visual basic Objects Visual Basic programs display a Windows style screen (called a form) with boxes into.
Introduction to Visual Basic Chulantha Kulasekere.
Instructor: Adil Ibrahim Office: 212 Ullrich Phone: ibrahima 1.
1b – Inside Visual Studio Lingma Acheson Department of Computer and Information Science, IUPUI CSCI N331 VB.NET Programming.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Visual Basic 2008 Express Edition The IDE. Visual Basic 2008 Express The Start Page Recent Projects Open an existing project Create a New Project.
Visual Basic Chapter 1 Mr. Wangler.
Tutorial 11 Introduction to Visual Basic zLanguage developed for special-purpose Windows applications – 1991 zUses IDE – Integrated Development Environment.
Hello World In C++ and Microsoft Visual C++. Directions to begin a project 1. Go to All Programs 2. Open Visual Studio C++ 3. Click on New Project 4.
Introduction to Visual Basic. Quick Links Windows Application Programming Event-Driven Application Becoming familiar with VB Control Objects Saving and.
VISUAL C++ PROGRAMMING: CONCEPTS AND PROJECTS Chapter 1B Introduction (Tutorial)
Chapter 3 Introducing Visual Basic.NET. 3.1 Visual Basic.NET Windows Programming -Used to create Windows, Web, and Console applications -Uses predefined.
1 1 Lab1 Ismail M. Romi – IT Dept, PPU, Visual Basic 2005 Programming Tour.
A First Look At Microsoft Visual Basic Lesson 1. What is Microsoft Visual Basic? Microsoft Visual Basic is a software development tool, which means it.
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
Basic Controls & Properties Chapter 2. Overview u VB-IDE u Basic Controls  Command Button  Label  Text Box  Picture Box u Program Editor  Setting.
Introduction to the Visual Studio.NET IDE (LAB 1 )
Chapter 3 Introducing Visual Basic
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
Introduction to Visual Basic.NET Your First Visual Basic.NET Application.
Tutorial 11 Five windows included in the Visual Basic Startup Screen Main Form Toolbox Project Explorer (Project) Properties.
Introduction It is developed to create software applications. It is a tool for developers of any program that uses both basic and expert settings. It.
Visual Basic.net Textbox & Label Controls. Textbox Naming convention (txt) Primary use (user input) Can except numeric and character values.
How to get started with Excel VBA. We need to enable programming in Excel  the “Developer menu”
Chapter 2 – Introduction to the Visual Studio .NET IDE
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
What is Visual Basic.NET? 110 B-1 e.g. a word processor doesn’t do anything until the user clicks on a button, types text... A programming language that.
Vocabulary in VB So Far. Assignment: Used to change the value of an object at run time Used to change the value of an object at run time.
CSC 230 (Blum)1 Visual Basic 2005 Hello World Fall 2005 T. Blum.
Visual Basic CDA College Limassol Campus Lecture:Pelekanou Olga Semester C Week - 1.
CSC 157 (Blum)1 Hello World. CSC 157 (Blum)2 Start/Programs/Microsoft Visual Studio.NET 2003/Microsoft Visual Studio.NET 2003.
1.Begin by opening VB 2.Click New Project or the icon Hello World Tutorial NOTE: depending on your version of VB – the images might be slightly different.
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
BBT 10 Visual Basic 03 Enrichment. Tip Before creating any files for your project, first create a new folder Save all of your files in the folder Pieces.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
CSC 230 (Blum)1 Visual Basic 2005 Hello World Fall 2005 T. Blum.
Sorry, the pen lost control. Anyway, you need to download both the.vbp and the.frm for each project. I looked at PrCalc, I did not look at inventory.
Visual Basic A Quick Tutorial VB Review for ACS 367.
Using Option Buttons. Option Buttons Are similar to checkboxes. Must appear in groups. Only one button in the group can be selected at a time. Sometimes.
Visual Basic.Net. Software to Install Visual Studio 2005 Professional Edition (Requires Windows XP Pro) MSDN Library for Visual Studio 2005 Available.
If you don’t have Google Earth downloaded already, you can go to to get it.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
I am using Visual Basic 6 for this class. If you want to use a different version, please contact me. Thanks!
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Dive Into® Visual Basic 2010 Express
Chapter 3: I Need a Tour Guide (Introduction to Visual Basic 2012)
Visual Basic.NET Windows Programming
Visual Studio 2010 Hello World CSC 230.
Chapter 2: The Visual Studio .NET Development Environment
Chapter 1: An Introduction to Visual Basic 2015
Chapter 2 – Introduction to the Visual Studio .NET IDE
3.01 Apply Controls Associated With Visual Studio Form
1. Introduction to Visual Basic
How to design a Windows Forms application
Visual programming Chapter 1: Introduction
3.01 Apply Controls Associated With Visual Studio Form
Visual Studio 2010 Hello World CSC 230.
Creating and executing a program
Remember we are using Visual Basic 6 for this segment.
Simple Windows Applications
and the properties. I named this lblName.
I dragged over the label tool (A icon) and put it on the form.
2.2 – Activity Packages Create a new Process in UiPath Studio
Presentation transcript:

Introduction to Visual Basic 2010

Make sure that you can see the Solution Explorer, theProperty Window and the ToolBox

Click on File/New Project

Select Windows Forms Application Name the application and then click OK.

Now you have the form, the solution explorer the properties and the tools so you can start creating a program. Notice that the solution explorer contains the name of the project that the programmer enters.

I now made up a name for the form as well.

Click on Save All to save your project and its form.

Now I can pick the place I want to save my project.

Click on the form to bring up its properties and then enter in the title in the text field.

First I click in the toolbox to show common controls and then I drag the label over to the form. Note that I now see the properties for that label.

Now I change the text from Label1 to Name:

I name the label lblName because it is a label with the text of Name: and I will now put up a text box where people can enter then name.

After dragging over the text box I give it a name After dragging over the text box I give it a name. Tradition says that labels start with lbl and text boxes start with txt.

Double click on the button you put on the form to bring up the place to code the click event. Double click on the button on the form that you made and this code appears. This is the code you want to execute when the button is clicked. This is called a click event.

You want to write Hello followed by the name you entered into the txtGreet text box. To do this we need to tell VB that we are changing the text property so we write txtGreet.text and we need to tell VB that we want to use the text in the name text box so we write txtName.text. To put the two together we use the + to concatenate.

I click on the arrow to run or I can use F5 or I can click on debug and click on Start debugging. To run, I click on the arrow. The screen will come up, I enter a name and click the button.