MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Runtime Error 462

This is a discussion on Runtime Error 462 within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hello! I'm developing an application with Mappoint 2002 and Visual Basic 6, and I have a problem with the unqualified ...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-02-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Runtime Error 462

Hello!

I'm developing an application with Mappoint 2002 and Visual Basic 6, and I have a problem with the unqualified code.

I have a form with a map, in order to be able of searching for places, and use them in other parts of the application. Well, it goes right the first time it's executed, but the second tiem, I obtaint the 462 error.

The program stops at:

radio.Delete

where radio is a Mappoint.Shape object.

In Form_Load I have:

mapaPP.NewMap (geoMapEurope)
Set oMpApp = GetObject(, "MapPoint.Application")
Set oMap = mapaPP.ActiveMap
oMap.Application.Units = geoKm
...
Set radio=Nothing

And, in Form_Unload:

mapaPP.ActiveMap.Saved = True
mapaPP.CloseMap

mapaPP is the Mappoint Control

But the problem continues.

Do you know how I could solve it?
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


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
Runtime Mappoint plevine1 MapPoint 2006/2009 Discussion 4 06-30-2006 07:40 AM
MapPoint 2004 and Visual Studio 2005 Runtime error tizer001 MapPoint 2006/2009 Discussion 10 02-26-2006 09:51 AM
Change Symbols @ runtime Anonymous MapPoint 2006/2009 Discussion 2 03-10-2005 10:22 AM
Mappoint Runtime Dazzer MapPoint Web Service and Virtual Earth 4 09-30-2004 12:21 PM
Setting Dataset at runtime? shadbell MapPoint 2006/2009 Discussion 1 12-17-2003 09:25 AM


All times are GMT -5. The time now is 07:54 AM.


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

Flights from Edinburgh
Book flights from Edinburgh to exotic destinations all over the globe. Holiday Hypermarket will search for the latest great deals, so you don't have to.

Italy Holidays
Find great Italy Holidays with Travel Counsellors. A personal Travel Counsellor can help you plan the perfect holiday to Italy.

Cuba Holiday
A Cuba Holiday has so much to offer with numerous different cultures affecting the sights, sounds and tastes. Visit this fascinating country with dealchecker.co.uk.

Bahamas Holidays
Bahamas Holidays offer pure blue skies, soft white beaches and the holiday of a lifetime. Visit us for a great deal to the Bahamas.

Portugal
As well as providing some great weather Portugal has much to offer culturally. There are numerous museums, monuments and places of historical interest to explore. Despite the rich history there is a buzzing nightlife and great shopping too.

Travel Deals
Click here and read up on the travel deals available online.

Holidays in Sharm el Sheikh
Need booking info on holidays in Sharm el Sheikh? Visit On The Beach for more information!


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