ACC: Determining How Many Instances of Application Are Active (167843)
The information in this article applies to:
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q167843 Advanced: Requires expert coding, interoperability, and multiuser skills.
SUMMARY
You can use Windows API calls in Visual Basic for Applications code to
determine how many instances of an application are running. Then you can
use the information to prevent re-entrance of an application that is
already running.
For information about how to do this in Microsoft Access 1.x and
2.0, please see the following article in the Microsoft Knowledge Base:
96591
ACC: Determining How Many Instances of Application Are
Active
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 more information about the GetWindow, GetWindowText and IsWindowVisible
API procedures, refer to the Win32 SDK.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbhowto kbinterop kbProgramming KB167843 |
---|
|