Compunet Corporation1 Programming with Visual Basic.NET Fundamentals of Programming Lecture # 1 Tariq Ibn Aziz.

Slides:



Advertisements
Similar presentations
Windows Programming 1 Part 1 dbg --- Getting Acquainted with Visual Studio.NET and C#
Advertisements

The Microsoft View: Module 1: Getting Started. Copyright Course 2559B, Introduction to Visual Basic®.NET Programming with Microsoft®.NET. Lecture 1 Microsoft.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 1.1 of…
Introduction to the C# Programming Language for the VB Programmer.
Computers: Tools for an Information Age
Introduction to ASP.NET, Second Edition2 Chapter Objectives.
Introduction to Computing and Programming
Introduction to ASP.NET
Compunet Corporation Programming with Visual Basic.NET GUI Week # 11 Tariq Ibn Aziz.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
An Overview of Computers and Programming
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
Tahir Nawaz Visual Programming C# Week 2. What is C#? C# (pronounced "C sharp") is an object- oriented language that is used to build applications for.
Creating a Console Application with Visual Studio
Programming Handheld and Mobile devices 1 Programming of Handheld and Mobile Devices Lecture 18 Microsoft’s Approach 1 –.NET Mobile Framework Rob Pooley.
HELIA – Bite ATK36F © Tuomo Ketomäki.NET Overview.NET Programming.
Intro to dot Net Dr. John Abraham UTPA – Fall 09 CSCI 3327.
1 ENG236: ENG236: C++ Programming Environment (2) Rocky K. C. Chang THE HONG KONG POLYTECHNIC UNIVERSITY.
Creating and Running Your First C# Program Telerik Software Academy Telerik School Academy.
Introduction 01_intro.ppt
1 Chapter One A First Program Using C#. 2 Objectives Learn about programming tasks Learn object-oriented programming concepts Learn about the C# programming.
1 Integrated Development Environment Building Your First Project (A Step-By-Step Approach)
A First Program Using C#
Chapter 1: Introduction to Visual Basic.NET: Background and Perspective Visual Basic.NET Programming: From Problem Analysis to Program Design.
Hands-on Introduction to Visual Basic.NET Programming Right from the Start with Visual Basic.NET 1/e 6.
© 2004 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Programming the Web Using ASP.Net Chapter 2: The ASP.Net Template Dave.
1 Introduction to.NET Framework. 2.NETFramework Internet COM+ Orchestration Orchestration Windows.NET Enterprise ServersBuildingBlockServices Visual Studio.NET.
Introduction to .Net Framework
Overview-An Overview of Visual Basic.NET1 An Overview of Visual Basic.NET.
Microsoft Visual Basic 2005: Reloaded Second Edition
Introduction to .NET Framework
Lecture Set 1 Part B: Understanding Visual Studio and.NET – Structure and Terminology 1/16/ :04 PM.
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
Computing with C# and the.NET Framework Chapter 1 An Introduction to Computing with C# ©2003, 2011 Art Gittleman.
ISYS 573 Special Topic – VB.Net David Chao. The History of VB Early 1960s:BASIC-Beginner’s All-Purpose Symbolic Instruction Code –Teaching –Simple syntax,
Lecture Set 1 Part C: Understanding Visual Studio and.NET – Applications, Solutions, Projects (no longer used – embedded in Lecture Set 2A)
Week 1: THE C# LANGUAGE Chapter 1: Variables and Expressions ➤ Included in Visual Studio.NET ➤ What the.NET Framework is and what it contains ➤ How.NET.
Python – Part 1 Python Programming Language 1. What is Python? High-level language Interpreted – easy to test and use interactively Object-oriented Open-source.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files.
ISYS 812 Business Software Development David Chao.
Programming Handheld and Mobile devices 1 Programming of Handheld and Mobile Devices Lecture 17 Microsoft’s Approach 1 –.NET Mobile Framework Rob Pooley.
Introduction to VB.Net. What is.NET? A brand of Microsoft technologies A platform for creating distributed Web applications A combination of new and updated.
Chapter 2 Part C – More on the Help System and The Object Browser (scan quickly for future reference)
Module 1: Getting Started. Introduction to.NET and the.NET Framework Exploring Visual Studio.NET Creating a Windows Application Project Overview Use Visual.
Module 4 Part 2 Introduction To Software Development : Programming & Languages Introduction To Software Development : Programming & Languages.
1.
Chapter 1 Computers, Compilers, & Unix. Overview u Computer hardware u Unix u Computer Languages u Compilers.
Copyright 2003 Scott/Jones Publishing Standard Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming.
Hands-on Introduction to Visual Basic.NET Programming Right from the Start with Visual Basic.NET 1/e 6.
Introduction to ASP.NET What is ASP.NET and how is different from ASP –ASP: server side technology for creating dynamic web pages using scripting languages.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files 8/10/ :35 PM.
INTRODUCTION CHAPTER #1 Visual Basic.NET. VB.Net General features It is an object oriented language  In the past VB had objects but focus was not placed.
Introduction to C# Programming with Microsoft.NET AY
Brief Version of Starting Out with C++ Chapter 1 Introduction to Computers and Programming.
Chapter 1: Introduction to Visual Basic.NET: Background and Perspective Visual Basic.NET Programming: From Problem Analysis to Program Design.
July 22, 2001Introduction to.NET1 Introduction to.NET Framework Gholamali Semsarzadeh July 2001.
Lecture Set 1 Part B: Understanding Visual Studio and.NET – Structure and Terminology 1/16/ :04 PM.
Visual Basic.Net. Software to Install Visual Studio 2005 Professional Edition (Requires Windows XP Pro) MSDN Library for Visual Studio 2005 Available.
Programming Languages Concepts Chapter 1: Programming Languages Concepts Lecture # 4.
Chapter 6 Testing and running a solution. Errors X Three types Syntax Logic Run-time.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Software Engineering Algorithms, Compilers, & Lifecycle.
D OTNET ONLINE TRAINING. DOTNET Online Training Course Content : Introduction to.Net Online Training NET FUNDAMENTALS Why Dot Net? The Dot Net initiative.
IS 350 Course Introduction. Slide 2 Objectives Identify the steps performed in the software development life cycle Describe selected tools used to design.
C# and the .NET Framework
Introduction to .NET Framework Ch2 – Deitel’s Book
CE-105 Spring 2007 Engr. Faisal ur Rehman
Social Media And Global Computing Introduction to Visual Studio
Understanding the Visual IDE
Presentation transcript:

Compunet Corporation1 Programming with Visual Basic.NET Fundamentals of Programming Lecture # 1 Tariq Ibn Aziz

Compunet Corporation2 Hardware components

Compunet Corporation3 Evolution of computer languages

Compunet Corporation4 Running a program

Compunet Corporation5 The.NET Framework An architectural model for creating programs that interface with the operating system and base class libraries

Compunet Corporation6 The.NET Framework Contains a hierarchical set of Base Class Libraries

Compunet Corporation7 The.NET Framework Base class libraries are code libraries that provide general functions

Compunet Corporation8 Common Language Runtime Each.NET language compiles into a common intermediate language and common type system Assembly contains compiled.NET program The compiled.NET program contains the intermediate language and metadata Metadata describes the assembly contents

Compunet Corporation9 Compiling a program

Compunet Corporation10 Visual Studio.NET 2003 contains what you need to start building and executing VB.NET applications. Many Project templates are available in Visual Basic Project development environment, some of them are: –Window Application –ASP.NET Application –Smart Device Application –ASP.NET Web Application –Console Application –Windows Services Its trial version can be installed on machine. VB.NET Development Environment

Compunet Corporation11 Visual Basic Visual Basic is an Object-Oriented Programming Language Object contains data, method and constructor

Compunet Corporation12 Program Forms Program exist in two forms –Source code(text form of program) –Object code(executed by the computer).NET compiler produce an object file that contain intermediate code.

Compunet Corporation13 Namespaces Organizes base class libraries Top namespace is System All Windows Forms inherits the System.Windows.Forms.Form namespace

Compunet Corporation14 Provides a number of libraries of utility classes and methods System System.Console System.Diagnostics System.Data System.Data.sqlClient System.Web System.Xml System.IO.File VB.NET Class Libraries

Compunet Corporation15 Program Statements “A program statement is any combination of Visual Basic keywords, properties, functions, operators, and symbols that (make up) a valid instruction for the Visual Basic compiler. (see p. 127) For example: End Label1.Text = TimeString Syntax means the rules used to distinguish valid statements from invalid ones. It’s like grammar in English. If the syntax is not correct, the compiler will give you an error when you build your program. It’s possible to write a statement with good syntax but bad semantics (meaning). This may result in run-time errors.

Compunet Corporation16 Use any text editor to write this VB.NET program, call ILoveVB.vb VB.NET is not case sensitive, so be sure while writing the filename and class name Public Module Hello Sub Main() System.Console.WriteLine("I Love VB…") End Sub End Module ' Run this at the command line ' vbc ILoveVB.vb VB.NET Application

Compunet Corporation17 To compile this program c:\> vbc ILoveVB.vb To run your program c:\> ILoveVB You should see the following output I Love VB … VB.NET Application

Compunet Corporation18 Testing Blackbox testing – testing a program without knowing what’s inside it (it’s a black box). Test plans developed by looking at requirements statement. Whitebox testing – testing a program with full knowledge of how it works. Test plans developed by looking at the code. Every line of code should work correctly all the time!

Compunet Corporation19 Enter and compile this example on your PC to see whether your Software installation is OK VB.NET Application ( Exercise )

Compunet Corporation20 IL Disassembler (ILDASM) View assembly using ILDASM Displays intermediate language Can view information about namespaces, classes, and other programming structures

Compunet Corporation21 Using the ILDASM