Article ID: 210085 - View products that this article applies to.
This article was previously published under Q210085
Advanced: Requires expert coding, interoperability, and multiuser skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
To position Microsoft Access on the screen, you need to call the SetWindowPos() Windows API function. This article demonstrates how to call this function to position and size Microsoft Access on the screen.
To position Microsoft Access on the screen, use the SetWindowPos() API function included in the User32.dll dynamic-link library (DLL) included with Windows. To do so, 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.
Article ID: 210085 - Last Review: October 11, 2006 - Revision: 2.2