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

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

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

    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?

  2. #2
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60
    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

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

    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. creating routes
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 08-11-2004, 02:37 AM
  2. Creating Territories
    By jdebruin in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 03-04-2004, 09:15 AM
  3. need help in creating map of a city in vb
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 02-29-2004, 01:19 PM
  4. Creating COM add-ins for MapPoint using C#
    By ratsey in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 11-12-2003, 12:44 PM
  5. Creating a Route
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 08-01-2003, 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