MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




Creating an Add-in in VS .net

This is a discussion on Creating an Add-in in VS .net within the MP2K Magazine Articles forums, part of the Map Forums category; Laura, Thanks for the article. I am having difficulty with the addin wizard. First, I don't have the option of ...


Go Back   MapPoint Forums > Map Forums > MP2K Magazine Articles

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-15-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Creating an Add-in in VS .net

Laura,

Thanks for the article. I am having difficulty with the addin wizard. First, I don't have the option of choosing Visual Basic .NET, just Visual Basic. Second, MapPoint is not listed as one of the available hosts. Yet MapPoint 2004 and Visual Studio 2003 are installed on my computer. Any suggestions?
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 02-16-2005
Winwaed's Avatar
Mapping-Tools.com
Black Belt
 
Join Date: Feb 2004
Posts: 1,142
Blog Entries: 22
The MS instructions start:


With Microsoft Visual Basic version 6.0, you can use the same Add-In Designer to build a COM add-in that you would use to build a Visual Basic 6.0 add-in. This designer wraps the IDTExtensibility2 interface so that you do not have to implement it yourself. It also registers your add-in for you.

Note To create a single add-in that works with multiple Office applications, you must use the Visual Basic Implements statement when creating add-ins, because the Visual Basic Add-In Designer does not support multiple host applications in one .dll file.

Start Visual Basic 6.0, and on the New tab, click Addin, and then click Open.
A designer class (Connect) and a form (frmAddIn) are added to your project.

Note If the New Project dialog box doesn't appear when you first start Visual Basic, on the File menu, click New Project.

In the Project window, expand the Designers folder under MyAddIn, and then double-click Connect.
In the Application box, click Microsoft MapPoint, and then in the Application Version box, click either Microsoft MapPoint 9.0 (version 2002) or Microsoft MapPoint 11.0 (version 2004).


Is the problem, that MapPoint does not appear in the Application Version Box?

The only thing I can think of that I did before the above, was to add the MapPoint control to the VS designer - but that was for an earlier app that used the MapPoint control. Ie. I don't think you have to do it for add-ins.


Richard
__________________
Winwaed Software Technology LLC
http://www.winwaed.com
See http://www.mapping-tools.com for MapPoint Tools
See the Geoweb Guru for online mapping
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 02-18-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Creating an add-in in VS .NET

MapPoint will not show up in the Add-In wizard is if it was installed before Visual Studio .NET.
Re-installing MapPoint after VS7 has been installed will set the correct registry keys in order for Visual Studio to see MP as an availible add-in host.

Hope that helps.
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

Tags
addin, creating, net


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
creating routes Anonymous MapPoint 2006/2009 Discussion 1 08-11-2004 01:37 AM
Creating Territories jdebruin MapPoint 2006/2009 Discussion 0 03-04-2004 08:15 AM
need help in creating map of a city in vb Anonymous MapPoint 2006/2009 Discussion 1 02-29-2004 12:19 PM
Creating COM add-ins for MapPoint using C# ratsey MapPoint 2006/2009 Discussion 3 11-12-2003 11:44 AM
Creating a Route Anonymous MapPoint 2006/2009 Discussion 3 08-01-2003 09:44 AM


All times are GMT -5. The time now is 01:55 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
MP2K Magazine
Visitor Map

Antalya Holiday
Check out the Antalya holiday options through UlookUbook and find amazing offers that suit your pocket...



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