ACC2000: Determining How Many Instances of Application Are Active (197593)
The information in this article applies to:
This article was previously published under Q197593 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 on doing 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
For information about doing this in Microsoft Access 7.0 and 97, please see
the following article in the Microsoft Knowledge Base:
167843 ACC: Determining How Many Instances of Application Are Active
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. 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 KB197593 |
---|
|