44
CS130 Visual Basic Project 4 Lecture Fall 2001

CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,

Embed Size (px)

Citation preview

Page 1: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,

CS130 Visual Basic

Project 4 LectureFall 2001

Page 2: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,

New topics in project 4• Database, file (table), records, fields.• Application that contains menus, submenus, pop-up menus; access

keys, shortcuts, separator bars, check marks to menus.• Data controls: link to database; bind label controls to fields in the table

of a database.• Control arrays.• Write code to select records in a database.• The repetition structure: For …Next loop.• With statement• General procedure• Not operator• Procedures for MouseUp event

Page 3: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 4: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 5: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 6: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 7: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 8: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 9: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 10: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 11: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 12: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,

Control array

• a group of controls of the same type, e.g., label control, that share a common control name and a common set of event procedures. by clicking any label in the array triggers the same Click event procedure.

• Each control in the array has a unique index number assigned by VB. The value begins with 0 for the first control and increases by one for each new control. All controls have the same Name property; all other properties may be individually set.

Page 13: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 14: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 15: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 16: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 17: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 18: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 19: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 20: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 21: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 22: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 23: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 24: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 25: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 26: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 27: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 28: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 29: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 30: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 31: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 32: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 33: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 34: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 35: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 36: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 37: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 38: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 39: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 40: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 41: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 42: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 43: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Page 44: CS130 Visual Basic Project 4 Lecture Fall 2001. New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,