ACC97: How to Animate the Office AssistantLast reviewed: October 24, 1997Article ID: Q161014 |
The information in this article applies to:
SUMMARYModerate: Requires basic macro, coding, and interoperability skills. There may be times when you would like to animate the movements of the Office Assistant in response to actions performed in your application. For instance, you may want to have the Assistant appear when you open a particular form. Or you may want the Assistant to react when a certain event is triggered. This article shows you how to do so. This article assumes that you are familiar with Visual Basic for Applications and with creating Microsoft Access applications using the programming tools provided with Microsoft Access. For more information about Visual Basic for Applications, please refer to the "Building Applications with Microsoft Access 97" manual. NOTE: A demonstration of the techniques used in this article can be seen in the sample file, FrmSmp97.exe. For information about how to obtain this sample file, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q175066 TITLE : ACC97: Microsoft Access 97 Sample Forms Available on MSL MORE INFORMATIONThe following example creates three event procedures that control the behavior of the Clippit Assistant. The first procedure selects Clippit and makes the Assistant visible when the Employees form is opened. The second procedure instructs Clippit to simulate listening to the computer when a field is updated. The third procedure closes the Assistant when the form is closed and resets some of the properties of the Assistant. CAUTION: Following the steps in this example will modify the sample database Northwind.mdb. You may want to back up the Northwind.mdb file and perform these steps on a copy of the database. NOTE: This example assumes you have the Clippit Assistant (Clippit.act) installed on your computer. By default the Assistants are installed in the C:\Program Files\Microsoft Office\Office\Actors\ folder.
Starting the Assistant
Changing the Movement of the Assistant
Closing the Assistant When the Form Closes
REFERENCESFor more information about using the Office Assistant, search the Help Index for "Assistant," or ask the Microsoft Access 97 Office Assistant. To see a list of file names that correspond to the different Office Assistants, search the Help Index for "FileName Property."
|
Additional query words: program code help asst customize modify user
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |