Hi,
Quote:
|
Can anyone please help to give alternative code in VB6?
|
In traditional win32 code you can use the similar API calls FindWindow() to find the process window handle and to close it you can post a WM_QUIT message to it with PostMessage().
However killing the various active Mappoint instances will free up a lot of memory thus making all faster, and therefore less chance to get the 'server busy', so it is not _the_ solution to get rid of it.