CITA 342 Section 2 Visual Programming. Allows the use of visual expressions (such as graphics, drawings, or animation) in the process of programming.

Slides:



Advertisements
Similar presentations
Operating System Basics
Advertisements

Windows Test Review.
Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
CS0004: Introduction to Programming Visual Studio 2010 and Controls.
AA high level programming language. IIt is created by Microsoft. UUses a graphical environment called the Integrated Development Environment (IDE).
© by Pearson Education, Inc. All Rights Reserved.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Visual Basic 2010 How to Program Reference: Instructor: Maysoon Bin Duwais slides Visual Basic 2010 how to program by Deitel © by Pearson Education,
A graphical user interface (GUI) is a pictorial interface to a program. A good GUI can make programs easier to use by providing them with a consistent.
Introduction to Visual Basic Programming. Lecture Outline History What is Visual Basic First Look at the VB 6.0 Environment Some VB Terminology Our first.
Automating Tasks With Macros
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Introduction to Visual Basic. What is Visual Basic? An environment for developing Windows applications Components –A GUI (Graphical User Interface - gooey)
Introduction to Programming and Visual Basic
Beginning Programming with the Visual Studio.NET Environment.
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 ONE Introduction to Visual Basic 2012 Programming.
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
Visual Basic Chapter 1 Mr. Wangler.
Hands-on Introduction to Visual Basic.NET Programming Right from the Start with Visual Basic.NET 1/e 6.
Chapter 3 Working with Symbols and Interactivity.
Tutorial 11 Introduction to Visual Basic zLanguage developed for special-purpose Windows applications – 1991 zUses IDE – Integrated Development Environment.
ABAP/4 PROGRAMMING Menu Painter Modularization 講 師:呂 昇 燦 2000 年 9 月 28 日.
An Introduction to Visual Basic
Introduction to Visual Basic. Quick Links Windows Application Programming Event-Driven Application Becoming familiar with VB Control Objects Saving and.
IE 411/511: Visual Programming for Industrial Applications
11.10 Human Computer Interface www. ICT-Teacher.com.
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.
© 2011 Delmar, Cengage Learning Chapter 3 Working with Symbols and Interactivity.
Object Oriented Programming Dr. Ennis-Cole CECS 5100.
Lecture Set 1 Part C: Understanding Visual Studio and.NET – Applications, Solutions, Projects (no longer used – embedded in Lecture Set 2A)
Integrated Development Environment (IDE)
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Copyright © 2010 Wolters Kluwer Health | Lippincott Williams & Wilkins Introduction to Windows Chapter 2.
Tutorial 11 Five windows included in the Visual Basic Startup Screen Main Form Toolbox Project Explorer (Project) Properties.
OBJECTIVE  After completing this Lab, students will upgrade their knowledge in the field of VC++.  Students will also get the clear view about the concepts.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files.
CHAPTER TWO INTRODUCTION TO VISUAL BASIC © Prepared By: Razif Razali 1.
Lection №5 Modern integrated development environment.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
Visual Basic CDA College Limassol Campus Lecture:Pelekanou Olga Semester C Week - 1.
1 Programming Environment and Tools VS.Net 2012 First project MSDN Library.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design Second Edition by Tony Gaddis.
Visual Basic for Application - Microsoft Access 2003 Programming applications using Objects.
Hands-on Introduction to Visual Basic.NET Programming Right from the Start with Visual Basic.NET 1/e 6.
INFORMATION SYSTEM – SOFTWARE TOPIC: GRAPHICAL USER INTERFACE.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files 8/10/ :35 PM.
COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.
Overview of Previous Lesson(s) Over View 3 Program.
Visual Basic.Net. Software to Install Visual Studio 2005 Professional Edition (Requires Windows XP Pro) MSDN Library for Visual Studio 2005 Available.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 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.
Microsoft Visual Basic 2012: Reloaded Fifth Edition Chapter One An Introduction to Visual Basic 2012.
12-Jun-16 Event loops. 2 Programming in prehistoric times Earliest programs were all “batch” processing There was no interaction with the user Input Output.
 2007 Pearson Education, Inc. All rights reserved Introduction to the Visual Basic Express 2005 IDE.
Dive Into® Visual Basic 2010 Express
Visual Basic Code & No.: CS 218
Introduction to Computer CC111
Event loops 16-Jun-18.
An Introduction to Computers and Visual Basic
1. Introduction to Visual Basic
Hands-on Introduction to Visual Basic .NET
Event loops.
Event loops 17-Jan-19.
Event loops 17-Jan-19.
Chapter 15: GUI Applications & Event-Driven Programming
Event loops 8-Apr-19.
Event loops.
Event loops.
Event loops 19-Aug-19.
Presentation transcript:

CITA 342 Section 2 Visual Programming

Allows the use of visual expressions (such as graphics, drawings, or animation) in the process of programming. These visual expressions may be used as graphical interfaces for textual programming languages (such as Visual Basic and Visual C++).

GUI (Graphical User Interface) A GUI (usually pronounced GOO-ee) is a graphical (rather than purely textual) user interface to a computer.

OOP Most of the design work for this course is based on the programming approach called object oriented programming (OOP). Each graphical interface element is defined as a class from which you can create object instances for your application. You can code or modify prepackaged methods that an object will use to respond to user stimuli.

Windows GUI Services Windowing –Create, move, resize, display, hide, clip, minimize, restore, maximize… Commands –Menus, toolbar… Graphical elements –Icons, buttons, standard shapes, lines… Combinations –Dialogs, edit box, list box...

Windows Model Windows is event-driven, message-based. Virtually everything that happens is in response to a message regarding some kind of event.

Events Mouse event, keyboard event, window resizing, menu selection, timer hit, window creation and destruction, etc. Program must respond to many different events that can come in any order. Multiple events can be triggered and queued for processing.

Messages Windows events are communicated via messages. Each hardware and user action causes one or more messages to be generated. Example: –Press the ‘A’ key –WM_KEYDOWN, WM_KEYUP, and WM_CHAR messages generated Approximately 200 different WM messages.

Windows Program Logic Initialize Wait for a Windows event and receive the message Process the message Goto wait

Visual C++ Components Visual C++ consists of several complete Windows application development systems in one product. You can use many Visual C++ tools, including the resource editors, to make low- level programming easier. You can also use application framework libraries such as the MFC library to further speed your Windows-based application development.

Visual Studio Visual Studio is a suite of developer tools that includes Visual C++. The Visual Studio integrated development environment (IDE) is shared by several tools, including Visual C++, Visual C#, and Visual Basic.

Microsoft Foundation Classes (MFC) A class library. Support is integrated into the compiler environment. Modern versions of Windows operating system are written in Visual C++ using the MFC library. There are more than 200 MFC classes.

MFC Source Code MFC library is shipped with its source code so that advanced users may examine its intricacies and find ways to use its code more effectively. Having the source code available is often useful in debugging a program as well.

MFC Advantages Windows program interfaces with MFC library at execution time through one or more dynamic link libraries (.dll files). This makes MFC programs potentially smaller and more efficient. There are tens of thousands of lines of previously written and tested code in MFC library, and the principal of reusability tells us to use it where doing so can save time, money, or effort.