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.

Slides:



Advertisements
Similar presentations
How can Microsoft PowerPoint 2007 help you share information?
Advertisements

Intro to Microsoft PowerPoint 2010 Public Computer Center, Moore Memorial Library, Greene, NY.
Microsoft Word 2010 Lesson 1: Introduction to Word.
Microsoft Expression Web-Illustrated Unit L: Using Code Tools.
Visual Basic Project Files:.VBP file: Project File: a small text file that contains the names of other files in the project, as well as some information.
Visual Basic Project Files:.VBP file: Project File: a small text file that contains the names of other files in the project, as well as some information.
Chapter 1 Introduction to Visual Basic.NET Programming In Visual Basic.NET © 2001 by The McGraw-Hill Companies, Inc. All rights reserved.
Outline Review Visual Basic.NET Environment Review Visual Basic.NET Environment First Visual Basic Planning and Programming First Visual Basic Planning.
Introduction to Computing Dr. Nadeem A Khan. Lecture 11.
1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
Developing Software Applications Bob Hobbs
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.
 Visual Basic is an object-oriented language used to write application programs that run in Windows or on the Internet using a graphical user interface.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Microsoft Visual Basic 2012 CHAPTER TWO Program and Graphical User Interface Design.
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.
Creating an Expression Web Site
Project 9 Using Visual Basic for Applications (VBA) to Customize and Automate Excel Jason C. H. Chen, Ph.D. Professor of Management Information Systems.
Hong Kong Taoist Association Wun Tsuen School Computer Studies Microsoft Word 2010.
Chapter 1 P. 1 Writing Windows applications with Visual Basic Figure 1.1 The first program works as follows: (These operations can be performed in any.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 4 1 Microsoft Office FrontPage 2003 Tutorial 4 – Using Shared Borders and Themes.
IE 411/511: Visual Programming for Industrial Applications
Chapter 3 Introducing Visual Basic.NET. 3.1 Visual Basic.NET Windows Programming -Used to create Windows, Web, and Console applications -Uses predefined.
CHAPTER 9 Introducing Microsoft Office Learning Objectives Start Office programs and explore common elements Use the Ribbon Work with files Use.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 2 Welcome Application Introducing the Visual Basic 2008 Express Edition IDE.
Microsoft Expression Web-Illustrated Unit I: Working with Tables.
Introduction to Visual Basic.NET Programming In Visual Basic.NET.
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.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.
Visual Basic 2005 CHAPTER 2 Program and Graphical User Interface Design.
This tutorial teaches Microsoft Word basics. Although knowledge of how to navigate in a Windows environment is helpful, this tutorial was created for.
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
Chapter 2 - More Controls More controls – Text boxes - used for user input – Frames - containers to group items – check boxes - user select an option -
Copyright © 2001 by Wiley. All rights reserved. Chapter 2: Using Visual Basic to Create a First Project Getting Started with VB Development Environment.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 5 Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
© Paradigm Publishing Inc. MICROSOFT WINDOWS XP MAINTAINING FILES AND CUSTOMIZING WINDOWS Section 2.
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.
Program Design and Coding
Microsoft Visual Basic 2012 CHAPTER THREE Program Design and Coding.
Microsoft Visual Basic 2010 CHAPTER THREE Program Design and Coding.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
CC111 Lec7 : Visual Basic 1 Visual Basic(1) Lecture 7.
Chapter 2 – Introduction to the Visual Studio .NET IDE
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.
Microsoft Visual Basic 2010 CHAPTER TWO Program and Graphical User Interface Design.
CMPF114 Computer Literacy Chapter 3 The Visual Basic Environment 1.
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
Creating and Editing a Web Page
Chapter 1 Introduction to Visual Basic.NET Programming In Visual Basic.NET © 2001 by The McGraw-Hill Companies, Inc. All rights reserved.
Chapter 3 I Need a Tour Guide (Introduction to Visual Basic 2010) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 3 Building an Application in the Visual Basic.NET Environment.
CSC 230 (Blum)1 Visual Basic 2005 Hello World Fall 2005 T. Blum.
COMPREHENSIVE Access Tutorial 11 Using and Writing Visual Basic for Applications Code.
TOOLBOX. The Toolbox Intrinsic Controls - always included in the Toolbox ActiveX Controls - separate files with ocx file extension Insertable Objects.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
XP New Perspectives on Creating Web Pages With Word Tutorial 1 1 Creating Web Pages With Word Tutorial 1.
2-1 Chapter 2 Using VB.NET to Create a First Solution.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 11 Creating Web Applications and Writing Data to a Database.
Visual Basic .NET BASICS
Chapter 1: An Introduction to Visual Basic 2015
Introduction to Computer CC111
Introduction to Computing
Chapter 2 – Introduction to the Visual Studio .NET IDE
Introduction to Computing
An Introduction to Computers and Visual Basic
Program and Graphical User Interface Design
An Introduction to Computers and Visual Basic
Presentation transcript:

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 of the project will not be lost when coping or moving the entire folder

Assignment 1 Open Microsoft Visual Basic – Start – Type “visual” in search box – Select Microsoft Visual Basic 2010 Express

Open Visual Basic 2010 Express 1.Select New Project, Windows Form Application, OK

Save Visual Basic 01 Assignment 1.Select File, Save All 2.Name the project Visual Basic 01 3.Select the Browse button and save your assignment in the Visual Basic folder on your U: drive 4.Select Save

Open the Toolbox – Select the Toolbox to the right and dock Create the form below with – A Label and – Two Buttons

Label1 Select Label1 Click on the title bar of the Properties window to make it the active window Change the (Name) to lblMessage

Button1 Select the Button1 button Change the Name property to cmdPush Change the Text property to Push Me

Button2 Select the Button2 button Change the Name property to cmdExit Change the Text property to Exit

Form Click anywhere on the form Change the text to Hello World by Your Name

Code the Push Me Button Double click the Push Me button Press the Tab key once to indent and then type ‘Display the Hello World message Press Enter and notice the remarks turn green Press Enter and type lblMessage.Text = “Hello World”

Code the Exit Button Double click the Exit button Press the Tab key once and type ‘Exit the project Press Enter twice and type End

Save Assignment and Run Program Save Visual Basic 01 assignment Select Start Debugging

Naming Rules and Conventions for Objects Object ClassPrefixExample Form frmfrmDataEntry Command button cmdcmdExit Text box txttxtPaymentAmount Label lbllblTotal Option button optoptBold Check box chkchkPrintSummary Frame frafraSelection Horizontal scroll bar hsbhsbRate Vertical scroll bar vsbvsbTemperature Image imgimgLogo Picture box picpicLandscape Combo box cbocboBookList List box lstlstIngredients Shape shpshpBox

Visual Basic 02 Write a new Visual Basic project that displays a different greeting, or make it display the name of your school. – Include at least three command buttons to display the greeting and exit the project. – Include a label that holds your name at the bottom of the form and change the Text property of the form to something meaningful. – Follow good naming conventions for object names; include remarks at the top of every procedure and in the General Declarations section of the module. – Select a different font name, font size and color for the greeting label. Select each font attribute from the Font dialog box from the Properties window.