PDA

View Full Version : Adding MapPoint functionality to Access



dlogan1
09-03-2011, 07:42 AM
I've created a few Access solutions in the past that have the ability to either create a map on a form or export a map to MapPoint. However, if a user does not have MapPoint installed they are unable to open the Access file. Is it possible to get around this issue? The maps are a nice add-on to the solution, but would like to be able to let the user enjoy the rest of the app even if they can't use the maps.

Thanks, Dale

Mattys Consulting
09-03-2011, 09:08 PM
Create your app in a seperate mde and set a ref to the mde.
If they have MapPoint, call that form - if they don't call a local form.

dlogan1
09-11-2011, 04:22 PM
I'm not real sure what you are suggesting. MDE: Is that the executable method for deploying an Access app?

Does this make sense? I also posted the same question on Experts-Exchange. Here's what someone said:

"You won't be able to do this since you're using ActiveX controls. Your app will require that control to be present on the end user machine. You cannot distribute this control, either, so if you need this functionality that you will need to require your end users to have the full version of MapPoint on their system."

Mattys Consulting
09-11-2011, 09:59 PM
Your problem appears to be that the mdb won't open due to missing reference.
Consider placing the form with the MapPoint ActiveX Control in an addin.
if MapPoint isn't installed, then asking the form to open will generate an error
that you'll be able to elegantly handle and continue on.

:shuriken: