Application Object.
You can use the hWndAccessApp property in Visual Basic to determine the handle (a unique Long Integer) assigned by Microsoft Windows 95 to the main Microsoft Access window.
The hWndAccessApp property is set by Microsoft Access and is read-only.
You can use this property in Visual Basic when making calls to Windows 95 Application Programming Interface (API) functions or other external procedures that require a window handle as an argument.
To get the handle to a window containing a Microsoft Access object such as a Form or Report, use the hWnd property.
Application Object, hWnd Property.