MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Determining path of Add-in

This is a discussion on Determining path of Add-in within the MapPoint 2006/2009 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 ...


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

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 01-26-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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
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-26-2005
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
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, determining, path


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
Determining Polygons and their related line segments... joer1234 MapPoint 2006/2009 Discussion 1 01-30-2005 08:45 AM
Determining what has been selected? Anonymous MapPoint 2006/2009 Discussion 1 04-06-2003 09:34 PM
Determining Center of a Zipcode shaistasohail MapPoint 2006/2009 Discussion 0 10-21-2002 11:13 PM


All times are GMT -5. The time now is 12:09 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


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