Gps Tools Bug Spoted
Posted: Wed Jun 02, 2010 3:57 pm
Hi,
we use Gps Tools in .NET and in CF .NET
We have spoted an issue in CF
Version 2.3.1
Code
Dim ObjPos As New Position
ObjPos.Grid = 1
<font color="red">ObjPos.Zone = Z</font id="red"> 'rasises an error- FormatException (Z is string, e.g. 33T)
ObjPos.Easting = EX
ObjPos.Northing = NY
ObjPos.Datum = 1 ' WGS84
' RESULT:
OutX = ObjPos.Longitude
OutY = ObjPos.Latitude
Same code works fine in .NET
Any idea ?
we use Gps Tools in .NET and in CF .NET
We have spoted an issue in CF
Version 2.3.1
Code
Dim ObjPos As New Position
ObjPos.Grid = 1
<font color="red">ObjPos.Zone = Z</font id="red"> 'rasises an error- FormatException (Z is string, e.g. 33T)
ObjPos.Easting = EX
ObjPos.Northing = NY
ObjPos.Datum = 1 ' WGS84
' RESULT:
OutX = ObjPos.Longitude
OutY = ObjPos.Latitude
Same code works fine in .NET
Any idea ?