MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




An API to Control MapPoint 2006 GPS Features - Part I of II

This is a discussion on An API to Control MapPoint 2006 GPS Features - Part I of II within the MP2K Magazine Articles forums, part of the Map Forums category; I read Pauls post on his GPS API and though it was the answer to my problems. I am trying ...


Go Back   MapPoint Forums > Map Forums > MP2K Magazine Articles

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 07-05-2007
Junior Member
White Belt
 
Join Date: Jul 2007
Posts: 8
Any success with GPS API

I read Pauls post on his GPS API and though it was the answer to my problems. I am trying to deliver turn messages at the appropriate time but the direction locations do not return an accurate coordinate of the intersection.
So i converted Pauls code to C++ and i called the appropriate functions to get the window handles and toggle the panes. I can even check off the GPS tracking check boxes. However this does not trigger MapPoint to start to read the GPS, it does nothing. Also all the text in the GPS pane is grayed out. This only happens when i open MapPoint from my application. The GPS works fine if i open MapPoint on its own. I noticed with Spy++ that the window was disabled. So i enabled the windows but, still no GPS action.
Am i forgetting something? Has anyone else had success turning the GPS on from code?

Thanks,

Jon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12 (permalink)  
Old 07-09-2007
Junior Member
White Belt
 
Join Date: Jul 2007
Posts: 8
Re: An API to Control MapPoint 2006 GPS Features - Part I of II

Neither mind. I didnt realize i had to use the MapPoint template. However, now i am cant get the turn-by turn direction to update. I create a end waypoint at my destination and then sendMessage to the "F3 Go" button to create a route. This creates a route but the directions dont update based on my location.
Anyone know what i am doing wrong.

Jon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #13 (permalink)  
Old 07-09-2007
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,223
Blog Entries: 1
Re: An API to Control MapPoint 2006 GPS Features - Part I of II

You may want to ping Paul and see if he can help, see his contact info at the bottom --

An API to Control MapPoint 2006 GPS Features

Eric
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #14 (permalink)  
Old 07-31-2007
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,223
Blog Entries: 1
Re: An API to Control MapPoint 2006 GPS Features - Part I of II

Andrew Kun writes about an application he worked on for navigation in police cruisers using techniques from this article..

"Unfortunately, even after enabling the Driving Guidance by help of Paul Larson’s code, the turn by turn directions would not update. The only message given by the guidance was “Proceed to Route”. This seemed odd to me because the turn by turn direction update perfectly when I would run MapPoint.exe outside of Project54.

"This led me to try something different than what is the suggested way to start MapPoint."

Read on at eceblogger.com » Automating MapPoint in C++ with the built in GPS enabled
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


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/api-control-mappoint-2006-gps-features-part-i-ii-5183.html

Posted By For Type Date
An API to Control MapPoint 2006 GPS Features - Part I of II - MapPoint Articles - MP2K Magazine This thread Refback 09-13-2006 08:36 AM

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
MapPoint Automation with C/C++ - Part 1 Eric Frost MP2K Magazine Articles 10 09-15-2006 10:01 AM
Access some hidden features in MapPoint2002 ActiveX control baal_2000 MapPoint 2006/2009 Discussion 43 08-29-2006 10:46 AM
Using Python to Control MapPoint, Part 2 Eric Frost MP2K Magazine Articles 0 07-11-2006 07:41 PM
Using Python to control MapPoint, Part 1 Eric Frost MP2K Magazine Articles 0 03-26-2006 10:29 PM
Hi EB Can i use the Map point control features .... Anonymous MapPoint 2006/2009 Discussion 1 05-14-2002 02:03 AM


All times are GMT -5. The time now is 01:13 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5
MP2K Magazine
Visitor Map

Chalet Ski Holidays
Want to book chalet ski holidays? Holiday Hypermarket doesn't just make booking easy but also gives you access to deals from leading travel brands.

Portugal Holidays
Find and book Portugal Holidays with Travel Counsellors. Holiday destinations around the world including Portugal.

Holidays in Italy
Holidays in Italy boast some stunning countryside as well as a beautiful coastline. You can even visit an active volcano like Stromboli or Etna. Book at dealchecker.co.uk.

Dubai Holidays
Dubai holidays provide you with exotic sights, desert safaris and superb cuisine. There is an extensive range of things to do and see!

Canaries
Find out all about the Canaries when you check out the ulookubook.com travel guides. Not only can you get a great holiday deal but you can find out useful information about potential holiday destinations.

Travel In
Travel.co.uk is the one you are looking for when checking out price comparison sites, so that you can travel in the way you choose.

Cheap Goa Holidays
Experience the world famous Wednesday Flea Market at Anjuna! Book cheap Goa holidays at On The Beach!


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