laptop and a wrench

Bug

The use of MapControl embedded in a Microsoft Access form causes MS Access to hang when attempting to exit.

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM032437
SubmittedFebruary 21, 2008
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.0
StatusWill Not Be Addressed

Additional Information

No Public Explanation

Workaround

One workaround, for those who need something, is to shut down MS Access hard when existing the application: Private Declare Function TerminateProcess Lib "kernel32" _(ByVal lngProcess As Long, ByVal lngCode As Long) As LongPrivate Declare Function OpenProcess Lib "kernel32" _(ByVal lngAccess As Long, ByVal lngHandle As Long, ByVal lngProcess As Long) As LongfTerminate Application.hWndAccessAppPublic Function fTerminate(ByVal lngHandle As Long) As LongGetWindowThreadProcessId lngHandle, lngHandleDim ss As Longss = OpenProcess(1, -1, lngHandle)'ss = OpenProcess(False, True, lngHandle)fTerminate = TerminateProcess(ss, 0) '(OpenProcess(False, True, lngHandle), 0)End Function

Steps to Reproduce

Bug ID: NIM032437

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options