PDA

View Full Version : How to get rid of "Save Map.ptm?" Messagebox in VB



NickSP
01-08-2003, 11:48 AM
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.

Eric Frost
01-08-2003, 12:36 PM
Nick:

You can change the Saved Property of the Map object.

Eric

stiemark
01-10-2003, 11:26 AM
More specifically, add:
mpCtrl.ActiveMap.Saved = True
into your form.unload.