MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Display questions

This is a discussion on Display questions within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, I want to program it in C#, but if you can help me in VB6 it doesn't matter. I've ...


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
  #11 (permalink)  
Old 03-10-2008
Junior Member
White Belt
 
Join Date: Feb 2008
Posts: 8
Re: Display questions

Hi,
I want to program it in C#, but if you can help me in VB6 it doesn't matter.
I've read some Mappoint documentation. There are two methods (ImportData and DisplayMap), but I don't know how can I use them.
Any idea? I'm in the right way?

Thanks
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 03-10-2008
Senior Member
Blue Belt
 
Join Date: Dec 2002
Posts: 251
Re: Display questions

Etienne,

I did a Google search on ImportTerritory.

It seems that there is a definite problem that
others have tried to solve and could not.

I'll have a look at it and let you know.

Mike Mattys
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 03-10-2008
Senior Member
Blue Belt
 
Join Date: Dec 2002
Posts: 251
Re: Display questions

Hi Etienne,

Here's my example, I hope it helps you:

I have an Access database with one table in it named AK01
It has 2 fields: Zip and TID

Zip contains all zipcodes in my territory (Alaska) and
TID contains "AK01" for each zip.
oDS is a MapPoint.DataSet
DLG2 is a common dialog box

Private Sub mnuImportTerr_Click()
DLG2.DialogTitle = "Mattys Consulting 2008"
DLG2.Filter = "Access File|*.mdb|Access Addin|*.mda"
DLG2.CancelError = False
DLG2.ShowOpen
If Err.Number <> cdlCancel Then
If DLG2.Filename <> "" Then
ImportTerritory DLG2.Filename, "AK01"
End If
End If
End Sub

Public Function ImportTerritory(strFileName As String, strTblName As String)
Dim arZips(1, 1) As Variant
arZips(0, 0) = "Zip": arZips(0, 1) = geoFieldPostal1
arZips(1, 0) = "TID": arZips(1, 1) = geoFieldTerritory
Set oDS = oMap.DataSets.ImportTerritories(strFileName & "!" & strTblName, _
arZips, geoCountryUnitedStates, , geoImportAccessTable)
End Function
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 03-10-2008
Junior Member
White Belt
 
Join Date: Feb 2008
Posts: 8
Re: Display questions

Hi,
I've added an image, called "territorio.jpg". That's what I want to display in a web page.
Is possible to call the web service to get something like this programmatically?
Is there any "layer" which display the territory (with a fill color) showing only the postal codes with the pushpins?

Thanks.
Attached Images
File Type: jpg territorio.JPG (35.2 KB, 1 views)
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
display, questions


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
Basic questions on pushpin and map display random MapPoint 2006/2009 Discussion 0 04-02-2004 07:25 AM
Many Questions about Mappoint Anonymous MapPoint 2006/2009 Discussion 8 01-08-2004 11:25 PM
a few questions Anonymous MapPoint 2006/2009 Discussion 7 03-24-2003 05:15 AM
A couple of questions DaveB MapPoint 2006/2009 Discussion 1 12-18-2002 05:19 AM
First of many newbie questions ;) freditoba MapPoint 2006/2009 Discussion 1 08-05-2002 01:08 PM


All times are GMT -5. The time now is 12:25 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 55