Introduction to Visual Basic.net 1

Embed Size (px)

Citation preview

  • 7/28/2019 Introduction to Visual Basic.net 1

    1/17

    F5227

    VISUAL BASIC NET.

    PROGRAMMING

  • 7/28/2019 Introduction to Visual Basic.net 1

    2/17

    Synopsis

    VISUAL BASIC.NET PROGRAMMING

    course provides students with the knowledgeand skills needed to develop applications in

    Microsoft.NET for the Microsoft .NET

    platform.

    The courses on user interfaces, programstructure, languange syntax and

    implementation details.

  • 7/28/2019 Introduction to Visual Basic.net 1

    3/17

    Assessment

    I. CONTINUOUS ASSESSMENT 50%

    II. FINAL EXAMINATION 50%

    Course Work:

    1. Quiz 5 10%

    2. Assignment 3 15%

    3. Mini Project 1 20%

    4. Lab Exercise 10 20%

    5. Test Comprising of 2 4 35% 2 Theory Test

    2 Practical Test

    Final Examination 1 100%

  • 7/28/2019 Introduction to Visual Basic.net 1

    4/17

    Outcomes of Subject

    Create a simple Visual Basic.NET-based applicationbased on the Windows Application templete

    Explain essential terminology, including memory,data types and graphical user interface

    Apply object-oriented programming techniques tocreate classes, add methods and add properties

    Create a simple Visual Basic. NET-based Web Formapplication that uses an XML Web Service andmanipulate data in database by using Microsoft

    ADO.NET

  • 7/28/2019 Introduction to Visual Basic.net 1

    5/17

    BAB 1

    Introduction To .NET Technology

  • 7/28/2019 Introduction to Visual Basic.net 1

    6/17

    Overview of .NET Technology

    The Framework start at :

    At memory management Component loading level

    Multiple of rendering user

    Program interface

    There are layer that provide just about anysystem-level capability that developer would

    need.

  • 7/28/2019 Introduction to Visual Basic.net 1

    7/17

    Major component of Microsoft. Net

    Technology

  • 7/28/2019 Introduction to Visual Basic.net 1

    8/17

    The .NET Framework Classes

    .NET difference form Win32 API because

    .NET totally object-oriented. Object-oriented : what you want to do, you going

    to be doing with object .

    You also dont care how it done behind the

    scenes. (Encapsulation) In .NET has subsystems that are never

    access directly.

  • 7/28/2019 Introduction to Visual Basic.net 1

    9/17

    Box Marked System IO

    Your application

    System IO file

    Programming Language

    Execution Platforms

    Windows File

    System

    Linux File

    System

    Pocket PC

    System

    .NET support Windows, so

    System IO file can communicate

    with Windows 98, ME, 2000, XP

    and 2003.

    System IO File provide

    Access to a file on disk

    or network

    Irrespective ofwhatever platform

    you are waiting for,

    you still only use the

    Framework classes

  • 7/28/2019 Introduction to Visual Basic.net 1

    10/17

    The .NET Framework Classes

    The .NET Framework actually set of classes

    called base classes. Base classes extensive and provide the

    functionality for anything need to do in windows

    or web environment.

    This environment can work in :

    Files

    Data

    Form or control

  • 7/28/2019 Introduction to Visual Basic.net 1

    11/17

    Visual Basic 2005

  • 7/28/2019 Introduction to Visual Basic.net 1

    12/17

    The Menu

    File: Seems every windows program has a file

    menu

    Edit: Provide access item like undo, redo, cut,

    copy, paste and delete.

    View: Provide quick access to the windows

    that exist in the IDE.

    Project: Allows user to add various file to user

    applications such as forms and

    classes.

  • 7/28/2019 Introduction to Visual Basic.net 1

    13/17

    The Menu

    Tool: Has commands configure the VS 2005

    and link to other external tool.

    Window: Become standard menu for any

    application that allow more than one

    window open at a time.

    Community: Provides access to developer

    resource.

    Help: Provides access to VS 2005

    documentation. Also provide update VS 2005.

  • 7/28/2019 Introduction to Visual Basic.net 1

    14/17

    The Toolbars

    Available within IDE including:

    Formatting Image editor

    Text editor

    Group of Options

    Group of Editing

    Group application

    Group Quick Link

  • 7/28/2019 Introduction to Visual Basic.net 1

    15/17

    Creating A Project

  • 7/28/2019 Introduction to Visual Basic.net 1

    16/17

    Window Visual Studio 2005 IDE

  • 7/28/2019 Introduction to Visual Basic.net 1

    17/17

    Window Visual Studio 2005 IDE

    Database Explorer

    Provides access to database connection

    Toolbox

    Contains reusable controls and components

    Design window

    Where user draw interface on form

    Solution Explorer Hierarchical view of user solution

    Properties

    Properties for selected project