MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




VB6 .NewMap error since upgrade

This is a discussion on VB6 .NewMap error since upgrade within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; My applications that were developed using VB6 and MapPoint 2004 have been crashing with an error stating that MapPoint is ...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  3 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 12-11-2006
Junior Member
Yellow Belt
 
Join Date: Mar 2004
Posts: 12
Question VB6 .NewMap error since upgrade

My applications that were developed using VB6 and MapPoint 2004 have been crashing with an error stating that MapPoint is not installed on the system since I have upgraded to MapPoint 2006.

When I check my references, MapPoint control 11.0 is selected (the path points to windows\system32\MappointControl.oca). [Edit: It is supposed to be version 13.0 I just realized, but it is not... I will try reinstalling MapPoint and see if the control's update]

There is, however, another reference with the same name that points to MappointControl.ocx. I suspect this may be the control I want to point to, but I am stuck:

I cannot uncheck the original control because VB says its in use. I cannot select the other control because it is named the same and causes a conflict (and thus, is not selected.

Everything starts up fine, but as soon as I call .newmap GeoMapNorthAmerica, I get an error.

Is there something I am missing here?

Last edited by Fleet; 12-11-2006 at 05:58 PM. Reason: New discovery since original post
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 12-12-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Re: VB6 .NewMap error since upgrade

Hi,

Strange. If I register MP2006 the control's version is 13, and when I register MP2004 the automatically the control's version is 11 (after closing / restarting the IDE). Maybe remove and add again the reference to mappoint in the projects will help ?
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 12-18-2006
Junior Member
Yellow Belt
 
Join Date: Mar 2004
Posts: 12
Re: VB6 .NewMap error since upgrade

The uninstalling and reinstalling of MapPoint seemed to do the trick. Is it possible to register version 11 and 13 without having to install the respective products? I have the same question with Excel (clients use a range from '97 to 2003, and my application won't start on their PC's if I have not compiled the correct registered version it seems... but that is for another forum)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 12-18-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Re: VB6 .NewMap error since upgrade

Hi,

Yes easy to do. I have done this by a bunch of batch files. Put a batch file in the appropriative folder where this is in:

Code:
MapPoint.exe /RegisterServer
You can do the same thing for al the automation programs with the several versions. In addition, if you have different compiles for different version you can change a class witch is linked to your applications that keeps the currently registered version.
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


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/vb6-newmap-error-since-upgrade-5465.html

Posted By For Type Date
Discovering MapPoint Map Printing Capabilities - MapPoint Articles - MP2K Magazine This thread Refback 12-19-2006 09:14 AM
Programming MapPoint via .NET - MapPoint Articles - MP2K Magazine This thread Refback 12-14-2006 09:42 PM
An API to Control MapPoint 2006 GPS Features - Part I of II - MapPoint Articles - MP2K Magazine This thread Refback 12-11-2006 08:00 PM

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
Forum Upgrade Eric Frost MapPoint 2006/2009 Discussion 10 02-11-2006 11:27 AM
newmap yvdp MapPoint 2006/2009 Discussion 7 05-21-2004 04:48 PM
upgrade Anonymous MapPoint 2006/2009 Discussion 1 02-26-2004 12:36 PM
newmap problem with Mappointcontrol in VB.NET Anonymous MapPoint 2006/2009 Discussion 3 01-02-2004 04:29 PM
newmap slower with mappointcontrol than with Mappoint2004 ? Syd MapPoint 2006/2009 Discussion 0 10-21-2003 10:52 AM


All times are GMT -5. The time now is 01:55 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

Zermatt Skiing
Thinking about skiing in Switzerland? Zermatt skiing is simply spectacular. Book online at Holiday Hypermarket to get a great value holiday in the shadow of the Matterhorn.

Flights to Cyprus
Find cheap flights to Cyprus on Travel Counsellors. A personal Travel Counsellor can help you plan flights and find accommodation in Cyprus.

Flights Canada
Our search results will show you a selection of airlines, travel agents and tour operators offering cheap flights to Canada. See for yourself who has the cheapest deals.

Holidays to Dominican Republic
Holidays to Dominican Republic offer a wealth of natural beauty and magnificent views. Come alive in the splendor of the Dominican Republic!

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.

Compare flight prices
Travel.co.uk makes it easy for you to compare flight prices from hundreds of UK based travel companies.

Holidays to Gran Canaria
The Canary Islands await! Book holidays to Gran Canaria online at On The Beach!


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