MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Help file says MapPointCtl, it doesn't exist

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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-31-2002
Junior Member
Yellow Belt
 
Join Date: Jul 2002
Posts: 12
Send a message via ICQ to JPeters Send a message via AIM to JPeters
Help file says MapPointCtl, it doesn't exist

Trying to manipulate the MapPoint Control 9.0 that came with MP2002. Help file says to use MapPointCtl library. Ie:

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
---------------------------
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 08-02-2002
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
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:
Originally Posted by JPeters
Trying to manipulate the MapPoint Control 9.0 that came with MP2002. Help file says to use MapPointCtl library. Ie:

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
__________________
John
http://www.support-pc.com

Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 08-02-2002
Junior Member
Yellow Belt
 
Join Date: Jul 2002
Posts: 12
Send a message via ICQ to JPeters Send a message via AIM to JPeters
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
---------------------------
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
exist, file, mappointctl


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -5. The time now is 01:23 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54