Community of VE/MapPoint Users and Developers
This is a discussion on Run-time error 2147467259 80004005 automation error within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I am using a variant of the calcpos application. When I open excel with the VBA code and run the ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| |
| |||
| Re: Run-time error 2147467259 80004005 automation error
Hi, I don't know VBA, but I assume you have a debugger. Can you step trough the code to see the offending line ? And can you also see the value assigned to objects and variables ? I assume something is destroyed and not created again. Or something is not cleared where the values are not right the second time.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| Quote:
Thank You Wilfried for replying. I just fixed the problem by adding the following lines at the bottom of the function's code: Set locNorthPole = Nothing Set locSantaCruz = Nothing I had tried this earlier but had not set the right variables to nothing after each iteration. |
![]() |
| Tags |
| automation, error, runtime |
| ||||
| Posted By | For | Type | Date | |
| 80004005 errore ocx | VIRGILIO Ricerca | Web | This thread | Refback | 3 Weeks Ago 08:41 AM | |
| Working With Excel and MapPoint - MP2K Magazine | This thread | Refback | 03-05-2007 08:07 PM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Run time Error 16400 | bdg | MapPoint 2006/2009 Discussion | 4 | 02-15-2007 11:19 AM |
| run-time error 16391 with MP control in vb6 | cwrude | MapPoint 2006/2009 Discussion | 2 | 08-28-2006 01:14 PM |
| Run-time Error 16398 using Mappoint 2004 ocx | blueisland | MapPoint 2006/2009 Discussion | 0 | 12-13-2004 01:59 AM |
| Run-time error 'Method 'UpdateLink' object 'DataSet' failed | Anonymous | MapPoint 2006/2009 Discussion | 0 | 09-18-2003 04:53 PM |
| Error in VBA automation of MapPoint when PO BOX is found | JPeters | MapPoint 2006/2009 Discussion | 2 | 01-09-2003 10:40 AM |