Project References

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • WaluigiCubed
    New Member
    • Jan 2008
    • 12

    Project References

    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\MapPoi ntControl.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
    Recognized Expert Expert
    • Dec 2006
    • 8119

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

    Comment

    • MapForumscom
      New Member
      • Oct 2009
      • 1

      #3
      One thing you may find helpful is the /regserver switch for "mappoint.e xe". 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.e xe /regserver".

      Eric

      Comment

      Working...