View Single Post

  #3 (permalink)  
Old 07-26-2002
JPeters JPeters is offline
Junior Member
Yellow Belt
 
Join Date: Jul 2002
Posts: 12
Send a message via ICQ to JPeters Send a message via AIM to JPeters
MP2k activex ctrl

Another thing,
Okay, if any of you have the MP for dummies book, or just open up your help file for Map Point and go down to the VBA section you'll see the 'Spinning Globe' application somewhere.

I've copied everything RIGHT out of the book or off of Microsoft's help file, and ONline. It is VERBATIM.

But I keep getting these error messages
"Object cannot be found in this contro." Or some other random error. GUys, nothing is working... I'm using this in Access 97... Can any of you try this and see if it works for you?

Also, The MapPoint Control is named MapPointControl1
And I have it set to this....

Private Sub Form_Load()
Dim objMap As MapPoint.Map
Dim objLoc As MapPoint.Location
Dim ObjNewMap As MapPoint.MappointControl
KeepMoving = True

' Open a North American map
MapPointControl1.NewMap geoMapNorthAmerica

This supposedly puts a newmap in the MP control.. well I get this error message as the form loads...
Run-Time error '438': Object doesn't support this property or method.

Then it highlights the MapPointControl1.NewMap geoMapNorthAmerica line. I'm lost.

-Josh
__________________
---------------------------
-JPeters-
jpeters@guidemail.com
---------------------------
Reply With Quote