Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on Create Addin application for Mappoint within the MapPoint 2006/2009 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 ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Create Addin application for Mappoint I'm able to create a VB application with Mappoint.OCX, but not able to create a Mappoint Addin. Thanks a lot , Xav |
| |||
| 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 |
| |||
| 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. 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? |
![]() |
| Tags |
| addin, application, create, mappoint |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mappoint addin | Milo | MapPoint 2006/2009 Discussion | 6 | 08-16-2005 01:33 PM |
| Create Mappoint.Application with CreateObject method | Anonymous | MapPoint 2006/2009 Discussion | 0 | 03-03-2004 07:03 AM |
| Mappoint addin with Delphi 6 | jeanluc | MapPoint 2006/2009 Discussion | 2 | 09-15-2003 02:03 PM |
| I am tring to create an addin which will go throug.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 12-13-2001 09:14 AM |
| I am attempting to write a com addin for mappoint .... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 03-14-2001 09:44 AM |