View Single Post

  #1 (permalink)  
Old 02-16-2004
mmichaels mmichaels is offline
Junior Member
White Belt
 
Join Date: Jan 2004
Posts: 6
Mappoint SaveAs Method

Is there something wrong with my code (VB.Net Windows forms app)?

Private Sub MapFrm_Closed(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Closed

ntMap.ActiveMap.SaveAs(Environment.CurrentDirector y + "\" + "test.ptm", MapPoint.GeoSaveFormat.geoFormatMap, False)
ntMap.ActiveMap.Saved = True

End Sub

There is no file being saved anywhere to disk. Am I missing something?

Thanks!
Marc
Reply With Quote