MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Create Addin application for Mappoint

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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-09-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 01-12-2004
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 01-14-2004
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -5. The time now is 10:10 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map

Flights from Cardiff
Get the latest information for flights from Cardiff online through Holiday Hypermarket. Check out flight arrivals and departures in just a few clicks.

Family Holidays
Family holidays, ski holidays, cruises, luxury holidays. Whatever your travel needs your personal Travel Counsellor can help.

Cheap Holiday Turkey
Booking a cheap holiday to Turkey doesn't have to be at the expense of enjoyment. Dealchecker.co.uk searches holidays from the leading UK Tour Operators.

Holidays to Barbados
Holidays to Barbados have so much to offer. Enjoy the beauty of this Caribbean island for less by booking your holiday through us.

Cheap Egypt Holidays
Pick up a bargain cheap Egypt holiday online when you visit ulookubook.com. Just check out our tips to make sure you book at the right time to get a great holiday for a great price. Finding cheap Egypt holidays can be simple when you know how.

Holidays Package
Make use of our service at Travel.co.uk to compare holidays. We can find you a package deal that will delight you.

Cheap Holidays in Florida
Legendary weather! Visit On The Beach for info on cheap holidays in Florida.


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