Hi Salsa17,

I don't have a copy of vb.net handy, but I'm pretty sure the trig functions require angles in radians, not degrees. So latA, lonA, and theta must all be converted from degrees to radians before their use in trig formulas, and latB and lonB will be in radians too when computed, so you must convert them to degrees before printing, assuming you want your output in degrees.