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

Post on 20-Dec-2015

217 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

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 object model.

• Automation servers

• Automation controllers/clients

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

Automation in Excel

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

Automation in Access

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

top related