Community of VE/MapPoint Users and Developers
This is a discussion on detecting mappoint in vba within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I have an Access database with one form that does all of my mapping and routing in MapPoint. (Access 2K, ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| detecting mappoint in vba I share the database - and some people have MapPoint on their machines and others don't. Can someone give me some simple code when someone tries to start that form that will detect whether MP is installed so that I can let them know they need it and keep the form from loading? Thanks Dave |
| |||
|
hi, try any mappoint object in an exception block. if exception occurs you handle it in your program and mappoint is not installed.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
|
Thanks Wilfried: After hearing from some folks on an ACCESS group and realizing that to make it work correctly I would need to use late-binding for all of my MapPoint functions (seemed to make sense to me), which would slow down my already slow database (I am not a programmer at all). -- and given that there aren't enough copies of my database that it's out of my control; it seems like the best solution is simply to have a version of the frontend with all mapping functions (and the references) stripped out. Make sense? Dave |
| |||
|
Hi, I'm not certain that I understeand what you mean. Can you please explain again ? (English is not my native language)
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
|
Instead of "telling" the user that they don't have MapPoint, I think it makes more sense to give people without MapPoint a version of the database that doesn't use it. That way I don't have to worry about bad references. (Your English is clearly much better than my Programming) |
![]() |
| Tags |
| detecting, mappoint, vba |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Detecting the currently selected pushpin | daxydoggie | MapPoint 2006/2009 Discussion | 2 | 11-19-2003 04:57 AM |
| Detecting when a line is clicked on in MP2K | Anonymous | MapPoint 2006/2009 Discussion | 1 | 01-21-2003 11:24 AM |