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

Mappoint OCX Programming

This is a discussion on Mappoint OCX Programming within the Development forums, part of the MapPoint Desktop Discussion category; Hi, I am new to the forum. What I would like to do use use either VB or VFP to ...

  1. #1
    John in Oregon is offline Junior Member White Belt
    Join Date
    Sep 2007
    Posts
    1

    Smile Mappoint OCX Programming

    Hi,

    I am new to the forum. What I would like to do use use either VB or VFP to access the Mappoint COM object to generate travel maps as graphics in either JPG or TIFF or EPS format. I will provide two addresses in address format (street, city, state,zip) and hope to receive back a graphic image, which can be printed on a postcard or letter. I can store the image in a specific folder or as a binary object in a Foxpro table.

    Help is needed on the following:

    1. Where can I find a programmers guide or reference that describes the methods and properties of the ActiveX / COm object for Mappoint? I would like to have it in CHM or PDF format, if possible.

    2. Can a graphic be created like I need?

    3. Can the resolution (DPI) of the graphic be controlled so that a printable size is generated?

    4. Does the ActiveX / COM object come with a purchase of Mappoint or is it obtained as a separate purchase?

    Thanks you for any help you can provide. If you have any experience programming this type of need, please provide me any information you can. Code examples are appreciated.

    Sincerely,

    John in Oregon

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

    Re: Mappoint OCX Programming

    Hi John,

    1) The reference is the programmers information section of the help file.
    2) You can use .CopyMap or SaveAsWebPage or print to PDF
    (maybe you are using a dll or GDI code to capture?)
    3) I don't know
    4) The MapPoint ActiveX control is installed with the MapPoint desktop version

    Mike Mattys

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

    Re: Mappoint OCX Programming

    Hi,

    for (3) a possible approach is to do a screen capture. Then you can save the copy in whatever format with whatever DPI with VB or winAPI function calls.

  4. #4
    ngenoese is offline Junior Member White Belt
    Join Date
    Sep 2007
    Posts
    3

    Re: Mappoint OCX Programming

    Oreilly has a good book. Programming mappoint in .net.
    Hope this helps

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. programming mappoint '04 - gps integration
    By nprimex1 in forum MapPoint Desktop Discussion
    Replies: 5
    Last Post: 11-12-2008, 09:04 AM
  2. MapPoint Programming Documentation? Why so little?
    By tacaldo in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 09-20-2008, 02:42 PM
  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. Programming MapPoint via .NET
    By Anonymous in forum MP2K Magazine Articles
    Replies: 1
    Last Post: 02-21-2006, 10:42 AM
  5. In using MapPoint in programming with VB how do yo....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-27-2001, 02:53 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