1 Course Title: Visual Basic Programming Topic: Introduction to programming Languages (Visual basic 6.0) Lecturer: Mahamud Ahmed Jimale, BsIT, MsCs, CCNA,

Slides:



Advertisements
Similar presentations
Creating a Dialog-Based Comet Windows Program Brian Levantine.
Advertisements

Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
CS0004: Introduction to Programming Visual Studio 2010 and Controls.
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,
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.
The Microsoft View: Module 1: Getting Started. Copyright Course 2559B, Introduction to Visual Basic®.NET Programming with Microsoft®.NET. Lecture 1 Microsoft.
CA 121 Intro to Programming Tariq Aziz and Kevin Jones GUI Programming in Visual Studio.NET Chapter 1 Tariq Aziz and Kevin Jones.
Compunet Corporation Programming with Visual Basic.NET GUI Week # 11 Tariq Ibn Aziz.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
Objectives Machine language vs.. High-level language Procedure-oriented, object-oriented, and event- driven languages Background of Visual Basic VB Integrated.
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.
Getting Started Example ICS2O curriculum
Visual Basic 2008 Express Edition The IDE. Visual Basic 2008 Express The Start Page Recent Projects Open an existing project Create a New Project.
Chapter 2 Build Your First Project A Step-by-Step Approach 2 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
1 Integrated Development Environment Building Your First Project (A Step-By-Step Approach)
A First Program Using C#
Chapter 1 Introduction to Visual Basic Programming and Applications 1 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta.
1 Programming Concepts Module Code : CMV6107 Class Contact Hours: 45 hours (Lecture 15 hours) (Laboratory/Tutorial 30 hours) Module Value: 1 Textbook:
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.
CS 0004 –Lecture 1 Wednesday, Jan 5 th, 2011 Roxana Gheorghiu.
Microsoft Visual Basic 2005: Reloaded Second Edition
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
Lesson 6. GCSE Computing – programming languages Candidates should be able to:  describe common tools and facilities available in an integrated development.
PROBLEM SOLVING The first step in writing instructions to carry out a task is to determine what the output should be (What should the task produce?)
Tutorial 111 The Visual Studio.NET Environment The major differences between Visual Basic 6.0 and Visual Basic.NET are the latter’s support for true object-oriented.
Integrated Development Environment (IDE)
Basic Controls & Properties Chapter 2. Overview u VB-IDE u Basic Controls  Command Button  Label  Text Box  Picture Box u Program Editor  Setting.
Copyright © 2001 by Wiley. All rights reserved. Chapter 2: Using Visual Basic to Create a First Project Getting Started with VB Development Environment.
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 - A method used to create GUI applications. §BASIC - Beginner’s All - purpose Symbolic Instruction Code developed by John Kemeny. §VB- Evolved.
Irwin/McGraw-Hill Copyright© 2000 by the McGraw-Hill Companies, Inc. PowerPoint® Presentation to accompany prepared by James T. Perry University of San.
CHAPTER TWO INTRODUCTION TO VISUAL BASIC © Prepared By: Razif Razali 1.
Chapter Two Creating a First Project in Visual Basic.
Chapter 3 The Visual Basic Editor. Important Features of the VBE Alt-F11 will open the Visual Basic Editor. The Code window is to the right, Project Explorer.
CC111 Lec7 : Visual Basic 1 Visual Basic(1) Lecture 7.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
MS Visual Basic 6 Walter Milner. VB 6 0 Introduction –background to VB, A hello World program 1 Core language 1 –Projects, data types, variables, forms,
P6 BTEC Level 3 Subsidiary Diploma in ICT. Automation The end user of a spreadsheet may be proficient in using the software, but the more that you automate.
Hands-on Introduction to Visual Basic.NET Programming Right from the Start with Visual Basic.NET 1/e 6.
Microsoft Visual Basic 2008: Reloaded Third Edition Chapter One An Introduction to Visual Basic 2008.
Object-Oriented Application Development Using VB.NET 1 Chapter 2 The Visual Studio.NET Development Environment.
Chapter 3 I Need a Tour Guide (Introduction to Visual Basic 2010) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Chapter 27 Getting “Web-ified” (Web Applications) Clearly Visual Basic: Programming with Visual Basic nd Edition.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Visual Basic.Net. Software to Install Visual Studio 2005 Professional Edition (Requires Windows XP Pro) MSDN Library for Visual Studio 2005 Available.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Microsoft Visual Basic 2012: Reloaded Fifth Edition Chapter One An Introduction to Visual Basic 2012.
 2007 Pearson Education, Inc. All rights reserved Introduction to the Visual Basic Express 2005 IDE.
Chapter 2 Build Your First Project A Step-by-Step Approach 2 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
Chapter 1 Introduction to Visual Basic
Chapter 2: The Visual Studio .NET Development Environment
Visual Basic Code & No.: CS 218
Introduction to Computer CC111
An Introduction to Computers and Visual Basic
1. Introduction to Visual Basic
An Introduction to Computers and Visual Basic
VISUAL BASIC.
Social Media And Global Computing Introduction to Visual Studio
Hands-on Introduction to Visual Basic .NET
CIS16 Application Development Programming with Visual Basic
An Introduction to Computers and Visual Basic
Introduction to Visual Basic 2010
Visual Basic for Applications: Introduction
Presentation transcript:

1 Course Title: Visual Basic Programming Topic: Introduction to programming Languages (Visual basic 6.0) Lecturer: Mahamud Ahmed Jimale, BsIT, MsCs, CCNA, CEH University Of Hargeisa Faculty Of ICT & Distance Learning

2 What is a Programming language? A programming language is an artificial language designed to express computations that can be performed by a machine, particularly a computer. Programming languages can be used to create programs that control the behavior of a machine.

3 What is a Programming language?

4 Low level Vs High-level Programming Languages

5 1st Generation: Machine Language (1940s) Binary ( ), Hex (9B) 2nd Generation: Assembly Language (early ’50s) Used in HW instruction sets (e.g., LOD X, ADD Z, STR Y) 3rd Generation: High-level Languages (mid ‘50s) Procedural (e.g., input x, y=x+z, output y) 4th Generation: Modern tools (late ‘70s) (e.g., SELECT UserID, LastName FROM Clients WHERE State=“PA” GENERATIONS OF PRGRAMMING LANGUAGES

6 Logical Patient Perceptive (observant) At least moderately intelligent Enjoys an intellectual challenge Who can be a successful programmer?

7 Visual Basic is a programming language used to create Windows based applications. Visual Basic is based on the old BASIC (Beginner’s All- Purpose Symbolic Instruction Code) language What is Visual Basic?

8 GUI development environment for developing Windows applications. Object based development is possible using Class modules. Rapid Application Development (RAD). Can create COM components such as ActiveX Controls, DLLs and EXEs. Many internet development possibilities. Has an excellent integrated Help facility and Books Online. Good debugging facilities. Features of Visual Basic

9 A shorter learning curve and development time than C/C++, Delphi or even PowerBuilder. Allows for rapid application development. Is excellent for business applications. Allows you to create ActiveX controls. Allows you to reuse third-party, as well as your own, controls and components. Is object-oriented in nature. It is not a complete OOP language, but it is getting closer. Can integrate with the Internet both server and client- side. Visual Basic Advantages

10 Runtime distribution requirements are larger than C/C++. Not as much functionality as C/C++ in getting to features of the OS. Visual Basic Disadvantages

11 Visual Basic Learning Edition Visual Basic Professional Edition Visual Basic Enterprise Edition Versions of Visual Basic

12 Standard EXE ActiveX EXE ActiveX DLL ActiveX Control ActiveX Document DLL ActiveX Document EXE IIS Application DHTML Application Visual Basic Application Types

13 Visual Basic Application Types

14 1.Create the interface. 2.Set properties for controls. 3.Write code. Three Steps to Creating an Application

15 Projects Forms Controls Code Modules Class Modules User Controls Property Pages User Document (ActiveX Document) IIS Applications DHTML Applications Resource Files Visual Basic Application Components

16 A Visual Basic Application

17 Visual Basic InteIDE Run button Stop Button Pause

18 The ToolBox

19 The Project Window (or Project explorer window)

20 The Code editor window

21 Open File menu, select New Project (or just press CTR-N) Select StandardEXE project, then Click OK Click the new form windows. In the properties windows, change the name property, to frmHello, and caption property to Hello application. Add a button control to the form. Change the name property to command button to cmdHello, and caption property to &Display Double click the command button to display the code editor window. Between the two lines that appear type your code eg” Msgbox “Hello, this is a new application!” Save the new form with fromHello.frm, save the project with Hello.vbp name Run the project by clicking the run button, or by pressing F5 Click the display button (A dialog box with “Hello” message should appear Creating a New Project, Hello project

22 VB Object Naming Conventions

23 Creating a New Project, Hello project

24 Class exercise, design, code and run the following application Code for Go button Code for end button Shape control Text Box label

25 Question & Answer