46268358-Learn-VB-net1

download 46268358-Learn-VB-net1

of 18

Transcript of 46268358-Learn-VB-net1

  • 8/7/2019 46268358-Learn-VB-net1

    1/18

    Hello World

    CE-105 Fall 2006

    By: Engr. Faisal ur Rehman

  • 8/7/2019 46268358-Learn-VB-net1

    2/18

    GOAL

    Hello World!

    Terminology

    But Why? Features

    Course Outline

  • 8/7/2019 46268358-Learn-VB-net1

    3/18

    Hello World

    Console

    Windows / GUI

  • 8/7/2019 46268358-Learn-VB-net1

    4/18

    HW Console

    Open IDE

    Select New Project > ConsoleApplication

    Name = HelloWorldConsole Save All

    In Sub Main Handler, write:

    Console.writeline(Hello World!)

    Console.Beep

    F5

    Save All

  • 8/7/2019 46268358-Learn-VB-net1

    5/18

    HW Windows

    Open IDE

    Select Windows Application

    Name = HelloWorldGUI Save All

    Double Click Form

    Write:msgbox(Hello World!)

    F5

  • 8/7/2019 46268358-Learn-VB-net1

    6/18

    Terminology

    GUI: Graphical user Interface

    Program: Set of instruction given tocomputer to perform certain tasks

    Programming Language: A languageunderstandable by computer and used towrite programs Machine code / Low level: 0-1

    Intermediate: / Assembly Language,interpreter, Compilers

    High Level Language: VB.NET, C / C++,

    Java, COBOL, FORTRAN, BASIC

  • 8/7/2019 46268358-Learn-VB-net1

    7/18

    Why Programming?

    Mathematical Calculation /

    Numerical Analysis, which

    consumes a lot of time Prediction / Probability

    Automate Tasks

    Graphics Commerce

    Database

  • 8/7/2019 46268358-Learn-VB-net1

    8/18

    Why We?

    Structural Analysis & Design

    Drawing / Drafting

    Quantity Estimation

    Project Management

    We must understand how to make:

    Calculation Program

    Graphics forDisplay

    Database

  • 8/7/2019 46268358-Learn-VB-net1

    9/18

    Application / Uses of

    Programming

    Programs are used every where

    Mobile phones

    SMS, Calculator, text Editor & Games PC

    OS, Office software, Engg. Software

    Embedded Devices Robots

  • 8/7/2019 46268358-Learn-VB-net1

    10/18

    Icons

    Bill Gate

    Linus

    Adresson , Netscape Navigator

    AshrafHabibullah

    MS

    SunRedhat

    Google

    Auto Desk

    US Crops of EngrsComputers and Structures

  • 8/7/2019 46268358-Learn-VB-net1

    11/18

    BASIC

    Easy to learn; more close to

    English language

    Rapid Application Development First step to learn Programming

    Important for Beginners

  • 8/7/2019 46268358-Learn-VB-net1

    12/18

    Flavors

    VB: Basic language along with GUI

    VB.NET: VB built on .NET

    Framework, Next generationLanguage

  • 8/7/2019 46268358-Learn-VB-net1

    13/18

    Features of VB.NET

    OOP

    .NET Frame work

    All capability of any powerfullanguage

    RAD

  • 8/7/2019 46268358-Learn-VB-net1

    14/18

    Flavors / Editions

    of VB.NET

    Express For beginners / Hobbyist

    Free Version

    Include more than all capabilities requiredfor beginners

    Standard

    Tools for MS Office System

    Professional Enterprise

    Team System

  • 8/7/2019 46268358-Learn-VB-net1

    15/18

    Project Types

    Windows Application Template

    Class Library Template

    Console Application Template My Movie Collection Starter Kit

    Template

    Screen SaverStarter Kit Template

  • 8/7/2019 46268358-Learn-VB-net1

    16/18

    Course Distribution

    2 lectures / week

    1.1 T

    1.2 L

    2.1 L

    2.2 L

    3A and 3Q for Each Theory andLab, and for each term

    Project

    As described per course outline

  • 8/7/2019 46268358-Learn-VB-net1

    17/18

    Course Distribution

    Presentation

    Marks Distribution

    Reference: MSDN

    2 Book

    VD

    OZ

  • 8/7/2019 46268358-Learn-VB-net1

    18/18