PDA

View Full Version : How to prevent Save map dialog appearing?



Anonymous
08-21-2002, 06:23 PM
How do I prevent the save map dialog from appearing whenever the embedded ActiveX control is closed? I've tried saving the map prior to closing and setting Saved properties to True, none of which seem to have any effect on whether that save map dialog displays or not.

Help! ;->

don wendt

John Meyer
08-21-2002, 07:05 PM
Don,

Do you have the saved setting in the Form_Unload Event?

It should look something like this:

Private Sub Form_Unload(Cancel As Integer)
MappointControl1.ActiveMap.Saved = True
MappointControl1.CloseMap
End Sub