Community of VE/MapPoint Users and Developers
This is a discussion on My first VB 6 App with Mappoint 2004 within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I have included a reference to the Mappoint library in my project. I have the following code in a button ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| My first VB 6 App with Mappoint 2004 the following code in a button click and it errors saying that the Mappoint activeX control cannot create the object. I am not using the ActiveX control. What am I doing wrong? Dim MPApp As New MPApp.Application MPApp.Visible = True MPApp.Quit Set MPApp = Nothing |
| |||
|
Hi, I'm not sure if Mappoint needs a working message pump. There is non in your code since you Quit in same code block. I'm also not sure if you can set Visible to True without opening a map first. So you can try a few things. But what is the offending code line ? En waht is the exact error text ? Maybe we can find out more then.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| app, mappoint 2004 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MapPoint 2004 | anssrinivas | MapPoint 2006/2009 Discussion | 1 | 05-12-2006 08:13 AM |
| MapPoint 2004 API | indyyu | MapPoint 2006/2009 Discussion | 1 | 05-02-2006 08:19 AM |
| Is this even possible in mappoint 2004? | onagrote@hotmail.com | MapPoint 2006/2009 Discussion | 1 | 04-10-2006 12:29 PM |
| Add In for Mappoint 2004 | fattystud69 | MapPoint 2006/2009 Discussion | 0 | 09-14-2005 07:45 AM |
| MapPoint 2004 | Anonymous | MapPoint 2006/2009 Discussion | 1 | 10-10-2003 11:51 PM |