Here's a tool to find local area names within Milton Keynes. It's useful!
Using a T610, I can find area names within Milton Keynes, so when a resident calls to say "I can't get get Broadband in Wavenden Gate!" I can quickly find out where this remote place is. I select Wavenden Gate on the phone, and MapPoint springs into life showing where Wavendon Gate is.




We have lots of components here - the sort of arena Bill Gates loves!
1, Buy the phone. "The Link" offered me one for £100, with a contract at £15 a month. (I might get around to using it as a phone one day.)
2, Download Phone Front.
3, Install Bluetooth. Today I'm using 3Com's offering. (As an aside, no I cannot transfer photos from the phone to the pc using Bluetooth!)
4, MapPoint has an Automation interface. You know OCX, COM. Well it's 2003 and they're called assemblies these days and we have to do things differently.
Here's how I created the MapPoint Automation interface:
| C:\temp>TlbImp
"C:\Program Files\Microsoft MapPoint Europe\mpeu81.tlb" /verbose Microsoft (R) .NET Framework Type Library to Assembly Converter 1.1.4322.573 Copyright (C) Microsoft Corporation 1998-2002. All rights reserved. Type GeoFieldType imported. Type GeoCountry imported. Type GeoRGBType imported. ... Type Recordset80 imported. Type Field80 imported. Type library imported to MapPoint.dll C:\temp>dir *.dll Directory of C:\temp 22/08/2003 12:42 102,400 MapPoint.dll |
I copied the generated file "MapPoint.dll" in to the Phone Front directory. Adding the a reference to the dll in the Phone Front script editor means we can "do things" with MapPoint. I've put a copy here.
5 Visual Basic .NET (VB.NET) We are running the Common Language Runtime, and VB is an easy way to get started. Make your life easier by compiling testing and running under Visual Studio. Final tweaks can be made with the Phone Front Editor.
6 Getting the local area names from within Milton Keynes in a programmatic form is devious, but not horrendous.
|
Here's the Phone Front Script file.
Here are some notes on installing MK Map. Copy the MapPoint assembly DLL and VB script files to the phone front directory "C:\Program Files\Phone Front".
Click "Add..." and choose the MK Map, adding it to the phone menu.
There's a small piece of code for Phone Front "My.Phone.ShowMenu" that presents a menu on the phone.
| Imports System Imports PhoneFrontObject Imports Microsoft.VisualBasic Public Class AreaInfo ' manages area name and location
End Class Public Class Chunkette ' manages a sub menu of areas
End Class ' manages the entire map
End Class
End Class |
Above I said "So when some resident calls to say 'I can't get get Broadband in Wavenden Gate!'"... Why?
That's because I live in Milton Keynes, a modern city in England that has dire Broadband coverage.
I'm doing something about it!
Comments? Email me