1. S:\Courses\CSSE\ibrahima\CS2340\Notes Folder Section1 Folder Section2 2.

Slides:



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

CHAPTER TWO Creating Simple Visual Basic.NET Windows Applications.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
© by Pearson Education, Inc. All Rights Reserved. continued …
Chapter 31 Visual Basic Controls A Form is a windows-style screen displayed by Visual Basic programs. In a form, a programmer can create objects in a form.
1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
Chapter 2 –Visual Basic, Controls, and Events
Instructor: Adil Ibrahim Office: 212 Ullrich Phone: ibrahima 1.
Getting Started Example ICS2O curriculum
Microsoft Visual Basic 2012 CHAPTER TWO Program and Graphical User Interface Design.
CS 2340: Programming in VB Instructor: Dr. Qi Yang Office: 213 Ullrich Phone: YangQ 1.
CS 2340 Programming in VB.NET Instructor: Dr. Qi Yang Office: 213 Ullrich Phone: YangQ 1.
05/09/ Introducing Visual Basic Sequence Programming.
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 Graphical User Interfaces. Objectives * Students should understand what a procedural program is. * Students should understand what an.
Introduction to Visual Basic. Quick Links Windows Application Programming Event-Driven Application Becoming familiar with VB Control Objects Saving and.
CSCI 3328 Object Oriented Programming in C# Chapter 2: Introduction to Visual C# Programming 1 Xiang Lian The University of Texas Rio Grande Valley Edinburg,
Chapter 3 Introducing Visual Basic.NET. 3.1 Visual Basic.NET Windows Programming -Used to create Windows, Web, and Console applications -Uses predefined.
Visual Basic 2005 CHAPTER 2 Program and Graphical User Interface Design.
How to Setup MS Word for a Research Paper Steps and Procedures.
 2009 Pearson Education, Inc. All rights reserved Dive Into ® Visual C# 2008 Express.
Chapter 2 - More Controls More controls – Text boxes - used for user input – Frames - containers to group items – check boxes - user select an option -
CIS 338: VB.NET Components Dr. Ralph D. Westfall April, 2011.
Introduction to the Visual Studio.NET IDE (LAB 1 )
Graphical User Interfaces 2 Tonga Institute of Higher Education.
Chapter Two Designing Applications Programming with Microsoft Visual Basic th Edition.
CHAPTER TWO Creating Simple Visual Basic.NET Windows Applications.
Form Fill Software Data Structure Software developing company.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 3.1 Test-Driving the Welcome Application 3.2.
Visual Basic 2005 CHAPTER 2 Program and Graphical User Interface Design.
Chapter 2 – Introduction to the Visual Studio .NET IDE
CSC 230 (Blum)1 Visual Basic 2005 Hello World Fall 2005 T. Blum.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 2.1 Test-Driving the Welcome Application 2.2.
1 Advanced Computer Programming Lab Calculator Project.
Microsoft Visual Basic 2012 CHAPTER ELEVEN Multiple Classes and Inheritance.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 4 Working with Variables, Constants, Data Types, and Expressions.
VB Objects & Events (Exercises) School of Business Eastern Illinois University © Abdou Illia, Spring 2003 (Week 3, Friday 1/31/2003)
Microsoft Visual Basic 2010 CHAPTER TWO Program and Graphical User Interface Design.
COMPUTER PROGRAMMING I 3.02 Apply Properties Associated with the Controls.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 4 Designing the Inventory Application Introducing TextBox es and Button s.
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.
Chapter 2 More Controls Programming in C#. NET Objectives Use text boxes, group boxes, check boxes, radio buttons, and picture boxes effectively.
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.
Addison Wesley is an imprint of © 2011 Pearson Addison-Wesley. All rights reserved. Chapter 2 Creating Applications with Visual Basic.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
 You won’t write a single line of program code.  Instead, you’ll use visual programming techniques.  Visual Studio processes your actions (such as mouse.
Open Office Writer Section 01 - Formatting Document Prepared by: IT Group.
Chapter 4: Do-It-Yourself Designing (Designing Interfaces)
Visual Studio 2010 Hello World CSC 230.
Chapter 1: An Introduction to Visual Basic 2015
CSCI 3328 Object Oriented Programming in C# Chapter 2: Introduction to Visual C# Programming UTPA – Fall 2012 This set of slides is revised from lecture.
Word Processing Computer Technology.
Chapter 2 – Introduction to the Visual Studio .NET IDE
3.01 Apply Controls Associated With Visual Studio Form
Program and Graphical User Interface Design
How to design a Windows Forms application
Visual programming Chapter 1: Introduction
3.01 Apply Controls Associated With Visual Studio Form
Program and Graphical User Interface Design
CS 2340: Programming in VB Instructor: Dr. Qi Yang Office: 213 Ullrich
Visual Studio 2010 Hello World CSC 230.
Chapter 2 – Introduction to the Visual Studio .NET IDE
The University of Texas – Pan American
Horizontal Centering Using the menu bar
Autodesk Inventor Tips and Tricks for New Users
3.Visual Basic Controls.
Presentation transcript:

1

S:\Courses\CSSE\ibrahima\CS2340\Notes Folder Section1 Folder Section2 2

Web Site 3

 Start MS Visual Studio 2012  New Project…  Visual Basic  Windows  Windows Form Application  Name: ibrahima_XXXn 4

Make sure you know where is your program!  Save all  Create Solution folder: Uncheck  Browse location  Could change project / solution names  Check program location 5

 Double click the project file  Double click the solution file  Open MS Visual Studio, then Open project Recent projects 6

TextBox Get Input Display Output Label Display Information / Output Button User action... 7

 Name: lblName  Font ◦ Name ◦ Size ◦ Bold ◦ Italic ◦ Strikeout ◦ Underline  Size  AutoSize  TextAlign ... 8

 Name: txtName  Size  Multiline  ReadyOnly  BackColor  TabStop  TabIndex ... 9

 Name: btnHello  Text  TextAlign  Size  TabStop  TabIndex ... 10

 Menu View  Tab Order  Clicking the controls in order to change TabIndex  Close Tab Order  Multiple controls could receive the same TabIndex value 11

 Align ◦ Tops ◦ Lefts ◦...  Make Same Size 12

 Horizontal Spacing  Vertical Spacing  Center in Form ◦ Horizontally ◦ Vertically 13

 Order ◦ Bring to Front ◦ Send to Back  Lock Controls 14

 The button’s Click Event Users click a button when they want to do something.  Event Procedure Will be called when the event happens.  We will write the event procedure  Event procedure template Double click the button Select Events on Properties Windows 15

Declare variables Get Input Process Data Output Result 16

‘ Operators “&” and “+” append strings MessageBox.Show("Hello, " & theName + "!”) MessageBox.Show("Hello, " & theName + "!", "Lab 1”, _ MessageBoxButtons.OK, _ MessageBoxIcon.Information) 17