Community of VE/MapPoint Users and Developers
This is a discussion on Mappoint templates and use within Msaccess within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I have recently created an application the basics for which i found this article and the application within it to ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Mappoint templates and use within Msaccess http://www.mp2kmag.com/articles.asp?ArticleID=74 However I am trying to use a mappoint template which I have created as the basis for the map as there is some information i have put on this map which is a requirement of the application. To open this map up as the active map I have used the line Dim gappMp As New MapPoint.Application Dim objMap As Mappoint.Map gappMp.NewMap gappMp.Path _ + "\Templates\Test.ptt" Set objMap = gappMP.ActiveMap When I do this the rest of the application (i.e. adding pushpins with FindAddressResults) ceases to work (and I get the error Access Violation - No RTTI Data! but i think this is a different issue). I know i must be missing something but I just don't know what, (i suspect its something to do with datasets?! just a guess really). If anyone has any ideas or if anyone else has used the above article as a basis for there application and has had similar problems I would be very gratefull for any help. (also if nothing i have said so far makes any sense then let me know as i may have gone completly wrong somewhere!!) Dazzer PS this is what I am doing to add pushpins: Set objLoc = objMap.FindAddressResults(Me!Street, Me!City, ,Me!County, Me!PostalCode)(1) Set objPushpin = objMap.AddPushpin(objLoc, Me!Street) objPushpin.Name = Me!Name objPushpin.Note = Me!PostalCode objPushpin.BalloonState = geoDisplayBalloon objPushpin.Symbol = 77 objPushpin.Highlight = True Where objLoc is Mappoint.Location and objPushpin is Mappoint.Pushpin |
![]() |
| Tags |
| mappoint, msaccess, templates |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do I Integrate MapPoint with MSAccess | newlifcc | MapPoint 2006/2009 Discussion | 1 | 09-21-2005 01:22 PM |
| Adding pushpins by lat/long or address using MPC in MSAccess | GM | MapPoint 2006/2009 Discussion | 0 | 11-01-2004 01:00 PM |
| using msaccess with password to import data in mappoint2002 | geethesh | MapPoint 2006/2009 Discussion | 0 | 07-23-2003 11:06 AM |