Hello all, I have been running the vba code with ....

Anonymous
11-26-2001, 09:35 AM
Hello all,
I have been running the vba code with no problems using Access
2000 and Mappoint 2001. I recently upgraded to MapPoint 2002 and now when the code runs Map Point opens, maps everything properly, then ask if I would like to save changes and closes.

If I open it normally (no automation), it's fine. The
problems seems to be related to automation, just don't know where.

Has anyone else had this problem?

TIA,
Justin

Anonymous
11-26-2001, 09:35 AM
I think the solution is as simple as adding "objMap.Saved = True" to your VBA code. This basically tells MapPoint that there are no changes to the map so it won't prompt you to save changes when you exit.

 
Web mp2kmag.com
mapforums.com