7/25/01 Ed: How does one inhibit the popup save ....

Anonymous
07-30-2001, 06:57 AM
7/25/01 Ed:
How does one inhibit the popup save map message (Save map.ptm? Yes/No) when closing a VB6 application that contains an activeX mappoint control?

Anonymous
07-30-2001, 06:57 AM
Include the objMap.Saved = True statement in your code:


<form><textarea wrap="off" readonly="true" name="code" style="BORDER-BOTTOM: gray 1px inset; BORDER-LEFT: gray 1px inset; BORDER-RIGHT: gray 1px inset; BORDER-TOP: gray 1px inset; OVERFLOW: auto; WIDTH: 100%" rows="5" cols="40">
Private Sub cmdEnd_Click()
On Error Resume Next
objMap1.Saved = True

End Sub</textarea></form>

 
Web mp2kmag.com
mapforums.com