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
Page 1 of 7 123 ... LastLast
Results 1 to 10 of 65

OpenMap programming in 2010 trial

This is a discussion on OpenMap programming in 2010 trial within the Development forums, part of the MapPoint Desktop Discussion category; Hi, I got MP2010 trial and put the MP OCX in a vb.net 2003 form, In oyher word, I embeded ...

  1. #1
    jfdion@easydeal.qc.ca is offline Junior Member White Belt
    Join Date
    Oct 2009
    Posts
    8

    OpenMap programming in 2010 trial

    Hi,

    I got MP2010 trial and put the MP OCX in a vb.net 2003 form, In oyher word, I embeded mappoint in a vb.net application.

    When the openmap method is executing, I got an error that telle me the file is not a mappoint 2005 file !!?!?

    The same file opened correctly when I opened it directly in mappoint 2010.
    It seem that there is no limitation with the Mappoint trial. What cause this???

    Jeff

  2. #2
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4

    Re: OpenMap programming in 2010 trial

    Maybe open the file first and save the ptm to make sure it is MapPoint 2010 format.

    Eric
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

  3. #3
    jfdion@easydeal.qc.ca is offline Junior Member White Belt
    Join Date
    Oct 2009
    Posts
    8

    Re: OpenMap programming in 2010 trial

    Already tried this.
    I try to install on a computer don't have any mappoint, install MP2010. Run MP 2010, save the map on "na.ptm" file and try to open this file in my application that use the mappoint COM object , and I get the same result.
    Thanx

  4. #4
    Mattys Consulting's Avatar
    Mattys Consulting is offline Senior Member Black Belt
    Join Date
    Dec 2002
    Posts
    1,040

    Re: OpenMap programming in 2010 trial

    That's a strange message ... there was no MapPoint 2005 ...
    Is it a custom messagebox, perhaps?

    Mike Mattys
    Mattys Consulting Maps & Custom Programming

  5. #5
    jfdion@easydeal.qc.ca is offline Junior Member White Belt
    Join Date
    Oct 2009
    Posts
    8

    Re: OpenMap programming in 2010 trial

    actually, it's strange.
    This situation append when mappoint 2010 only is installed on computer.
    If I keep mappoint 2009 with the 2010 trial, it work fine. And it's really the 2010 version because I can view the GPS pane and activate the GPS.
    But, when I look for reference of mappoint in my project, the version 16.0 is indicate (2010 is version 17 !?!?).

    Tell something to someone ??

  6. #6
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4

    Re: OpenMap programming in 2010 trial

    I would recommend to run "mappoint.exe /regserver" at the command line in the MapPoint 2010 program files folder to see if that clears it up...

    Eric
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

  7. #7
    jfdion@easydeal.qc.ca is offline Junior Member White Belt
    Join Date
    Oct 2009
    Posts
    8

    Re: OpenMap programming in 2010 trial

    tx for reply

    got other information. On a computer never have mappoint, the trial at https://www.microsoft.com/downloads/...e-de9616b16d18 give me the error comException -2146811893, the file you chose is not a mappoint 2005 !?!?! if I OpenMap in a .net application. But if i have mappoint 2009 where i use 2010 to openmap in .net application, it work fine and the gps work fine too.
    Seem that the trial download I use don't work to open a map by programming OpenMap method , I take the sales.ptm sample map or I saved a map with the MP2010 that give me 2005 file error. Same problem if I do mappoint.exe /regserver. BTW seem I have a problem to OpenMap in my app.
    At this time I am able to continue my developpment. I have this on XP and vista with vsExpress2008 (XP) and vs2003 (both).

    I will try with complete MP2010 version .......

    Jeff
    PS::
    Detail of my error :
    System.Runtime.InteropServices.COMException was unhandled
    ErrorCode=-2146811893
    Message="Le fichier que vous avez choisi n'est pas un fichier MapPoint 2005."
    Source="MapPoint.Control.17"

  8. #8
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4

    Re: OpenMap programming in 2010 trial

    Where did you get a French version of MapPoint 2010?

    Eric
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

  9. #9
    jfdion@easydeal.qc.ca is offline Junior Member White Belt
    Join Date
    Oct 2009
    Posts
    8

    Re: OpenMap programming in 2010 trial

    No, the french message is one from nowhere !? at home all my softwares are in english, I dont know where the french message is??
    My mappoint is the english. trial mappoint 2010 english, take it from the link in the post below.

    Trial or not I got this message. I need mappoint 2009 and 2010 on the computer to be able OpenMap in my application that implement mappoint activeX.

    Does anyone got this problem ???

    Jeff
    Last edited by jfdion@easydeal.qc.ca; 11-11-2009 at 12:26 PM.

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

    Re: OpenMap programming in 2010 trial

    Hi,

    Do I understand right that:
    a. Your mappoint is English
    b. Your operating system is English
    c. The message is French?

Page 1 of 7 123 ... LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 04-28-2009, 07:24 PM
  2. OpenMap() / Abort
    By Auge_Ohr in forum Development
    Replies: 0
    Last Post: 11-06-2008, 01:41 AM
  3. Ambiguous messages ( programming or not programming? )
    By Mohamed in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 06-13-2006, 04:35 PM
  4. InvalidCastException in OpenMap
    By kdulaney in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 02-03-2005, 06:20 PM
  5. OpenMap in delphi ?
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 05-13-2003, 12:23 PM

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 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127