1 / 16

Components

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

artan
Download Presentation

Components

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Components Chris North cs3724: HCI

  2. Presentations • taylor mitchell • chris henry • Vote: UI Hall of Fame/Shame?

  3. 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

  4. 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

  5. Technologies • Microsoft • dll • OLE • ActiveX / COM (component object model) • .Net • Java • JavaBeans

  6. 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

  7. Controls in VB • Project | components | controls • E.g. a webbrowser control

  8. ActiveX Exe in VB • Project | references • E.g. controlling IE

  9. Object Models

  10. VB Object Browser

  11. Creating controls • VB: “user control” project

  12. Databases • Tables • Fields = Columns = attributes • Records = Rows = items • Values = Cells • Queries

  13. Database Components • Microsoft: ODBC • DAO (data access objects) • Old style, more complete • ADO (ActiveX data objects) • New style, less complete

  14. ADO Components • Data connection • “DSN=MS Access 97 Database;DBQ=c:\states.mdb;” • Recordset • Contains 1 row at a time • Fields

  15. ADO in VB • Data connector • Data widgets • Accessing data

  16. Next • Project 1 due feb 7 (1 week) Presentations: • Next Tues: john charonko, jaime spicciati • Next Thurs: terrence witt, mohamed hassoun

More Related