ACC: How to Send Information to the Clipboard (95/97)Last reviewed: August 28, 1997Article ID: Q138909 |
The information in this article applies to:
SUMMARYAdvanced: Requires expert coding, interoperability, and multiuser skills. Microsoft Access does not have a command that sends information to the Clipboard. To post information to the Clipboard, you need to define a Visual Basic for Applications function that calls several Windows API functions. This article defines a function that copies text to the Clipboard. (NOTE: In version 2.0, you can use the OLE_COPY action to copy an OLE field to the Clipboard. This article does not address that case.) 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 your version of the "Building Applications with Microsoft Access" manual.
MORE INFORMATIONTo copy information to the Clipboard, follow these steps. NOTE: You may have some Microsoft Windows API functions defined in an existing Microsoft Access library; therefore, your declarations may be duplicates. If you receive a duplicate procedure name error message, remove or comment out the declarations statement in your code.
REFERENCESFor more information about declaring Windows API functions, search for "Declare Statement" and then "Declare Statement" using the Microsoft Access 97 Help Index. Keywords : kbprg PgmApi Version : 7.0 97 Platform : WINDOWS Hardware : x86 Issue type : kbhowto |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |