MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




detecting mappoint in vba

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, ...


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 07-14-2005
Junior Member
White Belt
 
Join Date: Jul 2005
Posts: 3
detecting mappoint in vba

I have an Access database with one form that does all of my mapping and routing in MapPoint. (Access 2K, MP 2K4)

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
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 07-20-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,123
hi,

try any mappoint object in an exception block. if exception occurs you handle it in your program and mappoint is not installed.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 07-20-2005
Junior Member
White Belt
 
Join Date: Jul 2005
Posts: 3
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 07-21-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,123
Hi,

I'm not certain that I understeand what you mean. Can you please explain again ? (English is not my native language)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 07-21-2005
Junior Member
White Belt
 
Join Date: Jul 2005
Posts: 3
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)
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
detecting, mappoint, vba


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
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


All times are GMT -5. The time now is 03:40 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, 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