Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 4 of 4

VB6 .NewMap error since upgrade

This is a discussion on VB6 .NewMap error since upgrade within the MapPoint Desktop 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 ...

  1. #1
    Fleet is offline 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 06:58 PM. Reason: New discovery since original post

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    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 ?

  3. #3
    Fleet is offline 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)

  4. #4
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Forum Upgrade
    By Eric Frost in forum MapPoint Desktop Discussion
    Replies: 10
    Last Post: 02-11-2006, 12:27 PM
  2. newmap
    By yvdp in forum MapPoint Desktop Discussion
    Replies: 7
    Last Post: 05-21-2004, 05:48 PM
  3. upgrade
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 02-26-2004, 01:36 PM
  4. newmap problem with Mappointcontrol in VB.NET
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 01-02-2004, 05:29 PM
  5. newmap slower with mappointcontrol than with Mappoint2004 ?
    By Syd in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 10-21-2003, 11:52 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96