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

Determining path of Add-in

This is a discussion on Determining path of Add-in within the MapPoint Desktop Discussion forums, part of the Map Forums category; Using the .net deployment of a COM add-in for MapPoint. How do you determine the directory where the user installed ...

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

    Determining path of Add-in

    Using the .net deployment of a COM add-in for MapPoint. How do you determine the directory where the user installed the add-in? For instance, if I want to look for files in that directory, I have no idea where to look.

    Thanks,
    Craig

  2. #2
    maelstrom is offline Junior Member White Belt
    Join Date
    Jan 2005
    Posts
    7
    I don't see an easy way through MapPoint.AddIns, there's no file/path information other than the MapPoint.exe path.

    Looks like your best bet might be WinAPI GetModuleFileName, that can be used to return the path of your DLL as it is loaded in MapPoint. If you're in VB then App.Path should work about the same, I'm not really sure.

    See MSDN for GetModuleFileName info:
    http://msdn.microsoft.com/library/en...lefilename.asp

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Determining Polygons and their related line segments...
    By joer1234 in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 01-30-2005, 08:45 AM
  2. Determining what has been selected?
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 04-06-2003, 09:34 PM
  3. Determining Center of a Zipcode
    By shaistasohail in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 10-21-2002, 11:13 PM

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