View Single Post

  #4 (permalink)  
Old 08-23-2005
Wilfried Wilfried is offline
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
Hi,

I never used DisplayDatamap. Maybe the problem is in there ? Try first something simple and see if this works like this example:

Code:
            Map map = MP.ActiveMap;
            Location loc = map.GetLocation(50, 4, 1);
            Pushpin pp = map.AddPushpin(loc, "Wilfried");
            MapPoint.DataSet newSet = map.DataSets.AddPushpinSet("New set");
            pp.MoveTo(newSet);
Is in C# but you can easely convert it to VB and try it.
Reply With Quote