D
david
I am trying to set the time programmatically on my PPC device and as
expected, the time zone information is not refreshed. However, when I
run the code that forced the refresh in 1.1, it is giving a null
reference error. Has anyone run into this and know how to resolve it?
The previous thread is at:
http://groups.google.com/groups?hl=...man+datetime&hl=en&lr=&ie=UTF-8&start=20&sa=N
My code looks like this:
Dim localZone As TimeZone = TimeZone.CurrentTimeZone
Dim fi As FieldInfo =
localZone.GetType().GetField("currentTimeZone", BindingFlags.NonPublic
Or BindingFlags.Static Or BindingFlags.Instance)
fi.SetValue(Nothing, Nothing)
Thanks for the help,
David
expected, the time zone information is not refreshed. However, when I
run the code that forced the refresh in 1.1, it is giving a null
reference error. Has anyone run into this and know how to resolve it?
The previous thread is at:
http://groups.google.com/groups?hl=...man+datetime&hl=en&lr=&ie=UTF-8&start=20&sa=N
My code looks like this:
Dim localZone As TimeZone = TimeZone.CurrentTimeZone
Dim fi As FieldInfo =
localZone.GetType().GetField("currentTimeZone", BindingFlags.NonPublic
Or BindingFlags.Static Or BindingFlags.Instance)
fi.SetValue(Nothing, Nothing)
Thanks for the help,
David