I have a problem with a mappoint control in my Vb aplication. I have imported(with importdata function) a database from an access file in a dataset object variable. Now, I need to join this recordsets (or pushpin) with arrows.
Miguel
Thanks
This is a discussion on joining recordsets with arrows within the MapPoint Desktop Discussion forums, part of the Map Forums category; I have a problem with a mappoint control in my Vb aplication. I have imported(with importdata function) a database from ...
I have a problem with a mappoint control in my Vb aplication. I have imported(with importdata function) a database from an access file in a dataset object variable. Now, I need to join this recordsets (or pushpin) with arrows.
Miguel
Thanks
Here is a sample that may help. VB6/MapPointCTL
Code:Dim objmap As MapPointCtl.Map Set objmap = MappointControl1.ActiveMap Dim aShape As MapPointCtl.Shape Dim aPushpin As MapPointCtl.Pushpin Dim bPushpin As MapPointCtl.Pushpin Set aPushpin = objmap.AddPushpin(objmap.FindResults("New York, NY").Item(1)) Set bPushpin = objmap.AddPushpin(objmap.FindResults("Los Angeles, CA").Item(1)) Set aShape = objmap.Shapes.AddLine(aPushpin.Location, bPushpin.Location) aShape.Line.BeginArrowhead = True aShape.Line.EndArrowhead = True
John
http://www.support-pc.com
Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
There are currently 1 users browsing this thread. (0 members and 1 guests)