MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Programming with MapPoint 2006

This is a discussion on Programming with MapPoint 2006 within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi. I have a vb6 application that uses mappoint control. I have another pocket pc application that reads gps coordinates ...


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 11-09-2006
Junior Member
White Belt
 
Join Date: Nov 2006
Posts: 4
Programming with MapPoint 2006

Hi.

I have a vb6 application that uses mappoint control. I have another pocket pc application that reads gps coordinates and store the generated data in a sql server table.

I need to know how to:
  1. draw the path in a map based on collected gps coordinates;
  2. import sql server data using a query (I used a udl file and used "file.udl!TableName" and it works fine but I need to use "file.udl!SqlServerQuery" or other method to import the data);
  3. having a mappoint dataset with data (latitude,longitude, value1, value2), how to show a column chart in all the locations?
  4. how to define the color for each column;
Thanks in advance.

RAPZ.
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 11-09-2006
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,480
Blog Entries: 1
Re: Programming with MapPoint 2006

I think you can do everything except #4, it does not let you set the colors.

#1, see the AddLine method.
#2, you might need to use a View?
For #3 you will use the DisplayDataMap method. For me DisplayDataMap is almost always a pain to deal with but after trial and error I eventually get it to work.

hope this helps.

For general programming help, besides the Help File which is great, both the MapPoint for Dummies and Programming MapPoint in .NET books will help you get up to speed with MapPoint and give you ideas of what it is capable of...

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
  #3 (permalink)  
Old 11-09-2006
Junior Member
White Belt
 
Join Date: Nov 2006
Posts: 4
Re: Programming with MapPoint 2006

Thanks for the reply.

I will try your tips...but I really need to choose the colums color for columns chart. If someone know how...more tips will be nice!

Thanks again.
RAPZ.
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 11-09-2006
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,480
Blog Entries: 1
Re: Programming with MapPoint 2006

I had looked in the Data Mapping Wizard and it didn't look like it gave you the option to change the color ?

I started poking through the DisplayDataMap method options, and in the ColorScheme property it looks like there are options for the Series Column Chart, see the bottom graphic -- "Color schemes available with Series Column Chart maps". So you can set the color, but the Series Column Chart always has bars of all the same color.

It does not look like there is a way to set the colors of the bars of the regular "Column Chart".

One thing you might consider is to use MapInfo Pro to map your data on top of MapPoint using the tool "Map-In-A-Box" to tie them together.

You can see some examples of what is possible in this article --

Map-In-A-Box Puts MapPoint Maps Into MapInfo

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
Reply

Tags
mappoint 2006, programming


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 Programming Documentation? Why so little? tacaldo MapPoint 2006/2009 Discussion 3 09-20-2008 02:42 PM
Ambiguous messages ( programming or not programming? ) Mohamed MapPoint 2006/2009 Discussion 1 06-13-2006 04:35 PM
Programming MapPoint via .NET Anonymous MP2K Magazine Articles 1 02-21-2006 10:42 AM
C# samples for MapPoint programming tacaldo MapPoint 2006/2009 Discussion 3 03-21-2005 06:32 PM
In using MapPoint in programming with VB how do yo.... Anonymous MapPoint 2006/2009 Discussion 1 11-27-2001 02:53 AM


All times are GMT -5. The time now is 10:48 PM.


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