Page 1 of 1

Gps Tools Bug Spoted

Posted: Wed Jun 02, 2010 3:57 pm
by globalvision
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 ?

RE: Gps Tools Bug Spoted

Posted: Wed Jun 02, 2010 4:20 pm
by johan
Please follow the PAI specifications and it will work:
http://franson.com/gpstools/reference_manual.asp?comp=tools&class=Position&item=Zone&platform=net

Regards,
Johan

Franson Support

RE: Gps Tools Bug Spoted

Posted: Thu Jun 03, 2010 3:48 am
by globalvision
Sorry but we could not figure out what is a problem in CF. [8)]

It works in "normal" .NET
The thing is that
setting Property in CF environment

ObjPos.Zone = <font color="red">"33T"</font id="red"> 'rasises an error- FormatException

It works fine in "normal" .NET

Any idea ?

RE: Gps Tools Bug Spoted

Posted: Sun Jun 06, 2010 12:47 am
by globalvision
Hi Jonathan,

any idea to sort this out.

regards
Dusan