automation lecture 16 8/14/06 dan rao. automation automation is a process that allows one...

13
Automation Lecture 16 8/14/06 Dan Rao

Post on 20-Dec-2015

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Automation Lecture 16 8/14/06 Dan Rao. Automation Automation is a process that allows one application to control the objects included in another application’s

Automation

Lecture 16

8/14/06

Dan Rao

Page 2: Automation Lecture 16 8/14/06 Dan Rao. Automation Automation is a process that allows one application to control the objects included in another application’s

Automation

• Automation is a process that allows one application to control the objects included in another application’s object model.

• Automation servers

• Automation controllers/clients

Page 3: Automation Lecture 16 8/14/06 Dan Rao. Automation Automation is a process that allows one application to control the objects included in another application’s

Use automation

1. In automation controller, set a reference to the Automation server’s object library in the Automation controller

2. Create an object and assign its address to an object variable

3. Manipulate the automation object

4. Close the automation object and release the memory

Page 4: Automation Lecture 16 8/14/06 Dan Rao. Automation Automation is a process that allows one application to control the objects included in another application’s
Page 5: Automation Lecture 16 8/14/06 Dan Rao. Automation Automation is a process that allows one application to control the objects included in another application’s
Page 6: Automation Lecture 16 8/14/06 Dan Rao. Automation Automation is a process that allows one application to control the objects included in another application’s
Page 7: Automation Lecture 16 8/14/06 Dan Rao. Automation Automation is a process that allows one application to control the objects included in another application’s
Page 8: Automation Lecture 16 8/14/06 Dan Rao. Automation Automation is a process that allows one application to control the objects included in another application’s
Page 9: Automation Lecture 16 8/14/06 Dan Rao. Automation Automation is a process that allows one application to control the objects included in another application’s
Page 10: Automation Lecture 16 8/14/06 Dan Rao. Automation Automation is a process that allows one application to control the objects included in another application’s

Automation in Excel

• Downloads the QuarterSales.xls, certfi.doc and sales.mdb files.

Page 11: Automation Lecture 16 8/14/06 Dan Rao. Automation Automation is a process that allows one application to control the objects included in another application’s
Page 12: Automation Lecture 16 8/14/06 Dan Rao. Automation Automation is a process that allows one application to control the objects included in another application’s

Automation in Access

• Download the database ProfCarlisle.mdb and CIS100Letter.doc files.

Page 13: Automation Lecture 16 8/14/06 Dan Rao. Automation Automation is a process that allows one application to control the objects included in another application’s