It uses mappoint directly for the database, but it can only find a zipcode if it can get a complete address for your location. It should always return a zip code after you move around for a while, but it might not get one until it finds its first location.
The weather digitalmod uses the zip code.
found this bit of information in the thread about the gas price digimod. i believe this is my problem. i can only download info from the internet while i'm sitting outside my house, which is fine since all i want to do is check the weather before leaving home. anyway, i live on a road that was built last year, hence it's not in mappoint and a complete address doesn't exist.
so does anyone know a way to get this to work simply by entering a zip code? i looked at the code and found this:
Code:
Sub Module_OnEnter(bFromReverse)
ClearWeather
bSpeak = module.GetBoolOption(OptionSpeak)
SideBarList.CheckItem 0, bSpeak, False
strZipCode = navigation.GetCurrentZip
If Len(strZipCode) <> 5 Then
'We couldn't get a valid zip code, lets use the last one we stored
strZipCode = module.GetStringOption(OptionZipCode)
End If
'If we still don't have a zip code, then we error out
If Len(strZipCode) <> 5 Then
module.MsgBox "Could not determine the current zip code. No weather data will be downloaded. Please make sure the GPS has a signal", "No ZipCode!"
module.GoBack
Exit Sub
End If
i imagine this is what needs to be edited in order to use a static zip code. i'm not really well-informed on vb scripting, though. can anyone help me out?
Bookmarks