The only way I found to get rid of the message box is to actually do a "SaveMapAs". But, is there any other way of avoiding that message box when closing the application without doing a savemapas? Thanks.
This is a discussion on How to get rid of "Save Map.ptm?" Messagebox in VB within the MapPoint Desktop Discussion forums, part of the Map Forums category; The only way I found to get rid of the message box is to actually do a "SaveMapAs". But, is ...
The only way I found to get rid of the message box is to actually do a "SaveMapAs". But, is there any other way of avoiding that message box when closing the application without doing a savemapas? Thanks.
Nick:
You can change the Saved Property of the Map object.
Eric
~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
~~
~ Upgrade to Get Access to the MapForums Downloads ~
More specifically, add:
mpCtrl.ActiveMap.Saved = True
into your form.unload.
There are currently 1 users browsing this thread. (0 members and 1 guests)