ACC: How to Minimize, Maximize, and Restore MS Access 95/97 (148834)
The information in this article applies to:
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q148834 SUMMARY
Advanced: Requires expert coding, interoperability, and multiuser skills.
Microsoft Access does not have a function to maximize, minimize, and
restore Microsoft Access from a module or macro. This article shows you
how to use Microsoft Windows API calls in code to maximize, minimize, and
restore Microsoft Access.
NOTE: In Microsoft Access 97, you can use the RunCommand to maximize,
minimize and restore Microsoft Access. For example, you can use the
following methods:
DoCmd.RunCommand acCmdAppMaximize
DoCmd.RunCommand acCmdAppMinimize
DoCmd.RunCommand acCmdAppRestore
If you are using Automation, you can use the following methods:
application.DoCmd.RunCommand acCmdAppMaximize
application.DoCmd.RunCommand acCmdAppMinimize
application.DoCmd.RunCommand acCmdAppRestore
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.
REFERENCES
For an example of how to minimize, maximize, and restore Microsoft Access
version 2.0, please see the following article in the Microsoft Knowledge
Base:
89597 How to Minimize, Maximize, and Restore MS Access
Microsoft Access, "Building Applications with Microsoft Access 97,"
Chapter 12, "Using Library Databases and Dynamic-Link Libraries"
For more information about hWndAccessApp, search the Help Index for
"hWndAccessApp," or ask the Microsoft Access 97 Office Assistant.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbhowto kbProgramming KB148834 |
---|
|