Introduction to Visual Basic - Electronic Commerce - Lecture Slides, Slides of Fundamentals of E-Commerce

This is the Lecture Slides of Electronic Commerce Online Consumer Behavior, Consumer Behavior Online, E Loyalty and E Trust, Consumer Market Research, Internet Marketing, Web Advertising, Major Advertising Methods, Online Advertising Strategies, Managerial Implications etc. Key important points are: Introduction to Visual Basic, Integrated Development Environment, Create Windows Applications, Understand the Fundamentals, Programming Language, Decision and Looping Structures, Debugging Features,

Typology: Slides

2012/2013

Uploaded on 02/13/2013

saritae
saritae 🇮🇳

4.5

(10)

101 documents

1 / 122

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Introduction to Visual Basic and
the VB Integrated Development
Environment
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Introduction to Visual Basic - Electronic Commerce - Lecture Slides and more Slides Fundamentals of E-Commerce in PDF only on Docsity!

Introduction to Visual Basic and

the VB Integrated Development

Environment

Docsity.com

Learning Objectives

  • To describe the .NET framework
  • Use the VB IDE to create Windows applications
  • Understand the fundamentals of the VB programming language
  • Use VB’s decision and looping structures
  • Work with the IDE debugging features

Integrated Development Environment

(IDE) (cont’d)

  • IDE supports various programming languages
  • Example - VS 2005 IDE supports multiple languages
    • C# (C-Sharp)
    • J# (J-Sharp)
    • C++
    • Visual Basic (VB)

.NET Framework

  • Provides the foundation for .NET applications
  • Primary components
    • Common Language Runtime (CLR)
    • Framework Class Libraries (FCL)
  • Common Language Runtime (CLR)
    • Environment that provides services to manage application execution, regardless of the development programming language

The Common Language Runtime (CLR)

  • Environment that provides services to manage application execution, regardless of the development programming language
  • Provides the execution engine for .NET framework applications
  • Ensures that programs are reliable and do not harm other applications

Common Language Runtime - Services

  • Loading and executing an application’s code
  • Isolating application memory to prevent one application from harming another
  • Converting Microsoft Intermediate Language code to native code
  • Enforcing code access security
  • Handling exceptions
  • Supporting debugging

Common Language Runtime -

Terms

  • Source code
    • Commands of the program written in any language by the user
  • Compiler
    • Program that decodes instructions written in a higher-level language and produces instructions in a lower-level language such as assembly language

Common Language Runtime –

Terms (cont’d)

  • MS Intermediate Language (MSIL) code
    • Hardware-independent set of instructions that can be efficiently converted to native binary code to run on a specific hardware platform
    • MSIL code file has an .exe or .dll file extension
  • Executable file
    • A file with an .exe extension
    • Can directly run on a computer

Assembly

  • A .NET source code is compiled into an .exe or .dll

MSIL file

  • Contains MSIL code, as well as program configuration

information about content, versioning, and dependencies on other programs

  • Makes applications more reliable and easier to

deploy

Registry

  • Hierarchical database that stores system and

program configuration information

  • Every workstation that runs the Microsoft

Windows operating system contains a registry

  • Registry is difficult to configure and repair
  • .NET applications do not rely on registry

JIT Compiler - Steps

  • Compiles an assembly when user runs for the first time
  • The executable code is cached, or stored, on the target computer in either NAC or GAC
  • Native Assembly Cache (NAC)
    • Stores stand-alone executable programs
  • Global Assembly Cache (GAC)
    • Stores programs that multiple applications share

Framework Class Libraries

  • Libraries that contain code assisting with common programming tasks
  • Namespace
    • Naming scheme that uses a hierarchical dotted naming convention to provide a hierarchical, folder-like organization for FCL classes
    • Example System.Windows.Forms – To create graphical user interfaces

Components of IDE

  • Document window
    • Main window that displays the Start Page
  • Toolbox tab
    • Allows user to access tools to create application items such as command buttons and lists
  • Solution Explorer window
    • Displays user’s solutions and their components hierarchically

Components of IDE (cont’d)

  • Project
    • Collection of files that comprise an application
    • A project contains one or more forms
  • Forms
    • Objects containing the application items with which a user interacts, such as text boxes, buttons, and labels, along with the code to make these items functional
  • Solution
    • Made up of one or more projects