Community of VE/MapPoint Users and Developers
This is a discussion on I have a VB6 app using LINKDATA to get to a Access.... within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I have a VB6 app using LINKDATA to get to a Access database. I am able to read the lat/long ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| |
| |||
|
You could set the "Symbol" as you create the pushpins or use this code to change them if they are already on the map. Dim objDataSet As MapPointCtl.DataSet Dim objRecordset As MapPointCtl.Recordset Dim cnt As Integer cnt = 0 Set objDataSet = MappointControl1.ActiveMap.DataSets(1) '("My Pushpins") Set objRecordset = objDataSet.QueryAllRecords objRecordset.MoveFirst Do Until objRecordset.EOF cnt = cnt + 1 If cnt = 255 Then cnt = 0 objRecordset.Pushpin.Symbol = cnt 'or use a select statment Select Case objRecordset.Pushpin.Name Case "Test1" objRecordset.Pushpin.Symbol = 57 Case "Test2" objRecordset.Pushpin.Symbol = 41 End Select objRecordset.MoveNext Loop John john@support-pc.com |
| |||
| using latitude and longitude
Would you mind sharing your code for locating a list of long/lat coordinates on MapPoint? I am working on an application for a snack delivery business. I am David Kachuck, dk0146@netscape.net. |
| ||||
| Lat/Lon
The code is published in our articles section, see for instance http://www.mp2kmag.com/articles.asp?ArticleID=13, this is probably the most popular solution.
__________________ |
![]() |
| Tags |
| access, app, linkdata, vb6 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| VB6/ACCESS DB/.LinkData/.UpdateLink | Anonymous | MapPoint 2006/2009 Discussion | 0 | 12-15-2004 02:01 PM |
| Linking LinkData | DrewD | MapPoint 2006/2009 Discussion | 0 | 02-10-2004 11:22 AM |
| LinkData and VC++ | sowtschi | MapPoint 2006/2009 Discussion | 0 | 07-07-2003 10:32 AM |
| LinkData with UDL file in VB 6 App | Wim | MapPoint 2006/2009 Discussion | 1 | 04-03-2003 07:04 AM |
| Is it possible to use the Linkdata() method to con.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 04-26-2002 09:06 AM |