Community of VE/MapPoint Users and Developers
This is a discussion on Help file says MapPointCtl, it doesn't exist within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Trying to manipulate the MapPoint Control 9.0 that came with MP2002. Help file says to use MapPointCtl library. Ie: Sub ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Help file says MapPointCtl, it doesn't exist Sub Form_Load() Dim objMap As MappointCtl.Map 'Use the default North American Map Set objMap = MPC.NewMap(geoMapNorthAmerica) End Sub I'm getting an error. MapPointCtl doesn't exist. SO I can't use it. I have MapPoint and MapPointUtilities. I've tried getting around this with MapPoint.APplication, but I don't want MapPoint to open outside of my application, I need this to work with the ActiveX Contorl embeded within my form. Any ideas? -Josh
__________________ --------------------------- -JPeters- jpeters@guidemail.com --------------------------- |
| ||||
| Re: Help file says MapPointCtl, it doesn't exist
Josh, The only thing I see is the name of the ActiveX Control. When you drag the control on to your form default the name will be MappointControl1. if you did not change the control name to "MPC" then that would explain the problem. Either change the control name to "MPC" or change the code to: Set objMap = MappointControl1.NewMap(geoMapNorthAmerica) Quote:
__________________ John http://www.support-pc.com Order MapPoint 2006 Here https://secure.mp2kmag.com/?refer=support-PC |
| |||
| hmm
John, Actually - I did change the name to MPC. I've tried it as MPC and as MapPointControl1. This has been plaguing me for over a week now. I installed my copy of VB and now I'm going through Microsoft's programmed examples and seeing if they work .. and why theirs will and mine wont. Doing this soon as I can. I'll post with updates. -Josh
__________________ --------------------------- -JPeters- jpeters@guidemail.com --------------------------- |
![]() |
| Tags |
| exist, file, mappointctl |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| requested member of collection does not exist | Anonymous | MapPoint 2006/2009 Discussion | 0 | 11-16-2004 08:22 AM |
| How know if a pushpin exist ? | Anonymous | MapPoint 2006/2009 Discussion | 2 | 07-01-2004 04:05 AM |
| can you explain MappointCtl | Anonymous | MapPoint 2006/2009 Discussion | 1 | 05-06-2004 10:51 AM |
| Check if a waypoint and a pushpin exist | Anonymous | MapPoint 2006/2009 Discussion | 2 | 08-19-2003 10:27 AM |
| Does a manual for MapPoint 2001 exist?.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 07-05-2001 12:49 PM |