Download presentation
Presentation is loading. Please wait.
Published byTerence Waters Modified over 8 years ago
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
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!
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
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.