View Single Post

  #6 (permalink)  
Old 02-23-2004
Matrices Matrices is offline
Member
Yellow Belt
 
Join Date: Sep 2003
Posts: 44
OK, now I'm back doing some coding work I'll show you exactly instead of from my note book

Code:
Dim objmap As MapPoint.Map
I normally dothat in the globals at the start, just in case

Code:
Me.AxMappointControl1.NewMap("C:\mymapname.ptm")
objmap = AxMappointControl1.ActiveMap
And thats in form.load

Once you've declared objmap as a mappoint object and assigned it to the active map of your control, selectedarea will be a control you can selet from it

M
Reply With Quote