Community of VE/MapPoint Users and Developers
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 ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| 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 |
| |||
| 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 |
| |||
| 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 |
| |||
| 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. |
![]() |
| Tags |
| display, questions |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| 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 |