Latitude/Longitude Input Control

M

Matthew Hood

Does anybody know of any .NET compentents/code or an input mask that I can
utilize for a latitude/longitude geocoordinate data-entry form? I've tried
the AcroTech activeX control, but unfortunately, it crashes when I try to
use it as a custom edit control in my grid, so I'm wanting to find either a
..NET component, or some validation code and an input mask I can use to
ensure correct data. I would love to find a control that will support both
Degrees, Minutes, Decimals format AND the Decimal format.

Any ideas are greatly appreciated,
TIA,
-Matt
 
H

Herfried K. Wagner [MVP]

* "Matthew Hood said:
Does anybody know of any .NET compentents/code or an input mask that I can
utilize for a latitude/longitude geocoordinate data-entry form? I've tried
the AcroTech activeX control, but unfortunately, it crashes when I try to
use it as a custom edit control in my grid, so I'm wanting to find either a
.NET component, or some validation code and an input mask I can use to
ensure correct data. I would love to find a control that will support both
Degrees, Minutes, Decimals format AND the Decimal format.

You can base your implementation on these controls:

<http://www.codeproject.com/cs/miscctrl/maskedcsedit.asp>
<http://www.codeproject.com/vb/net/maskedbox_control.asp>
<http://www.codeproject.com/vb/net/validtext3.asp>
<http://www.codeproject.com/vb/net/cpflexmaskeditbox.asp>
<http://www.codeproject.com/useritems/ValidText.asp>
....
 
M

Matthew Hood

Thanks for the info on the masked edit controls.
I found some validation code to make sure my coordinates are good, so
between the two, I will be able to do what I need.

Thanks again,
-Matt
 
W

William Stacey [MVP]

related question. I need to figure out how to convert the
latitude/longitude/altitude stored as ints in a dns LOC resorce record to
some text representation. You have any links for working with this info.
Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top