Components
Download
1 / 16

Components - PowerPoint PPT Presentation


  • 115 Views
  • Uploaded on

Components. Chris North cs3724: HCI. Presentations. taylor mitchell chris henry Vote: UI Hall of Fame/Shame?. Quiz. Fill in the blank: Users tasks are ___technology_____-free. Why do you need a repaint procedure? Window rearranging causes erasing

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Components' - artan


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Components

Components

Chris North

cs3724: HCI


Presentations
Presentations

  • taylor mitchell

  • chris henry

  • Vote: UI Hall of Fame/Shame?


Quiz

  • Fill in the blank:

    Users tasks are ___technology_____-free.

  • Why do you need a repaint procedure?

    • Window rearranging causes erasing

    • Must be prepared to repaint at any time


Object oriented vs component oriented

Code

Customized by editing code

Language dependent

Compiled binary

Often UI focused

Customize by methods, properties

Events

Portable, language independent

Market-able!

Object-oriented vs. Component-oriented


Technologies
Technologies

  • Microsoft

    • dll

    • OLE

    • ActiveX / COM (component object model)

    • .Net

  • Java

    • JavaBeans


  • 2 types of activex components
    2 Types of ActiveX Components

    • ActiveX Controls

      • Widgets that can go on a form

      • *.ocx, *.oca

  • ActiveX Executables / dll’s

    • Independent programs that can be controlled

    • “OLE Automation”

    • *.exe, *.dll, *.tlb


  • Controls in vb
    Controls in VB

    • Project | components | controls

    • E.g. a webbrowser control


    Activex exe in vb
    ActiveX Exe in VB

    • Project | references

    • E.g. controlling IE




    Creating controls
    Creating controls

    • VB: “user control” project


    Databases
    Databases

    • Tables

      • Fields = Columns = attributes

      • Records = Rows = items

      • Values = Cells

    • Queries


    Database components
    Database Components

    • Microsoft: ODBC

    • DAO (data access objects)

      • Old style, more complete

  • ADO (ActiveX data objects)

    • New style, less complete


  • Ado components
    ADO Components

    • Data connection

      • “DSN=MS Access 97 Database;DBQ=c:\states.mdb;”

  • Recordset

    • Contains 1 row at a time

    • Fields


  • Ado in vb
    ADO in VB

    • Data connector

    • Data widgets

    • Accessing data


    Next

    • Project 1 due feb 7 (1 week)

      Presentations:

    • Next Tues: john charonko, jaime spicciati

    • Next Thurs: terrence witt, mohamed hassoun


    ad