Connecting Tech Pros Worldwide Forums | Help | Site Map

Project References

Newbie
 
Join Date: Jan 2008
Posts: 10
#1: Oct 12 '09
Hello,

I have a quick question about project references in Visual Basic projects. I've got a Visual Basic 6.0 project that includes a reference to the Microsoft MapPoint Control 13.0 (C:\Program Files\Microsoft MapPoint\MapPointControl.oca) and Microsoft MapPoint 13.0 Object Library (North America) (C:\Program Files\Microsoft MapPoint\MPNA83.tlb).

My question is, is it possible to change the locations of these project references at run time through VB code or no? Someone who is using the program recently installed Microsoft MapPoint 2010 to C:\Program Files\Microsoft MapPoint 2010, and right now they are currently having issues with these controls since the directory that they installed the program to is different than the directory that the program is looking for these files in. This isn't something that is done automatically either, is it?

Thanks in advance!

debasisdas's Avatar
Moderator
 
Join Date: Dec 2006
Location: Bangalore ,India
Posts: 7,508
#2: Oct 13 '09

re: Project References


You need to include those files as part of your setup using P&D wizard. Once those files are part of your setup it will be installed in selected path and the application won't any problem .
Newbie
 
Join Date: Oct 2009
Location: MapPoint
Posts: 1
#3: Oct 13 '09

re: Project References


One thing you may find helpful is the /regserver switch for "mappoint.exe". If you determine a particular or highest version of MapPoint is installed and is the one you want to use, you can force that version to be the default registered version by shelling out and executing "mappoint.exe /regserver".

Eric
http://www.MapForums.com
Reply