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 3 of 3

Create Addin application for Mappoint

This is a discussion on Create Addin application for Mappoint within the MapPoint Desktop Discussion forums, part of the Map Forums category; Is someone able to explain me how to create an Addin Application in Mappoint. I'm able to create a VB ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    Create Addin application for Mappoint

    Is someone able to explain me how to create an Addin Application in Mappoint.
    I'm able to create a VB application with Mappoint.OCX, but not able to create a Mappoint Addin.

    Thanks a lot , Xav

  2. #2
    tanguy_laverdure is offline Junior Member Yellow Belt
    Join Date
    Dec 2003
    Posts
    17

    Addin

    Hi,

    you may have to go to http://www.cppfrance.com/code.aspx?ID=19358 and download the zip file. That may solve your problem.

    Since you seem to create application with VB, do you know how to query Mappooint to select all cities for a particuliar region or country ?

    I wound like to create a function able to select all the cities with a certain population for a particuliar region or country and then calculate the distance beetween each of them.

    ie select all cities with more then 10000 people living in Florida

    Thank's for the answer

  3. #3
    David J is offline Junior Member White Belt
    Join Date
    Jan 2004
    Posts
    9

    How to create a Mappoint COM Add-In using VB6 Enterprise

    1) From the VB IDE create a new project of type "add-in"
    2) In the project tree under the Designers node is a node called connect.
    3) Double click on the Connect node which should bring up the AddInDesigner dialog.
    4) On the General tab change the scroll up through the contents of the Application dropdown and select "Microsoft Mappoint".
    5) If you want your add-in to run automatically when Mappoint is opened then change Initial Load Behaviour to Startup otherwise Select None.
    6) Select "Project,References..." from the menu and ensure the tick box for "Microsoft Mappoint x.0 Object Library (???????)" is checked.
    7)Select "Project,<MyAddIn> Properties..." and of the dialog that pops up select the Debugging tab. Select the "Start program:" radio button and add the pathname to the Mappoint .EXE file. This will invoke mappoint each time you run your addin form the VB IDE.
    Right click on the Connect Node and view source.
    9) In the source code remove the references to Office.CommandBarControl as you cannot create custom command bars in Mappoint (2004 might be different).
    10) Where VBInstance is of type VBIDE.VBE this need to become Mappoint.Application.
    11) Now you can start playing with the API

    Hope this proves useful.

    PPS. If you have started your AddIn from the VBIDE When you close Mappoint remember to select End from the Run Menu in the VBIDE to enable you to edit your source again.

    PPS. Are you using Mappoint 2004?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. mappoint addin
    By Milo in forum MapPoint Desktop Discussion
    Replies: 6
    Last Post: 08-16-2005, 02:33 PM
  2. Create Mappoint.Application with CreateObject method
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 03-03-2004, 08:03 AM
  3. Mappoint addin with Delphi 6
    By jeanluc in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 09-15-2003, 03:03 PM
  4. I am tring to create an addin which will go throug....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 12-13-2001, 10:14 AM
  5. I am attempting to write a com addin for mappoint ....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-14-2001, 10:44 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