> Trying to make the user enter it right.
PCs that have Internet Explorer 4+ installed (which is pretty much everyone)
have a built-in IP Address edit control for that:
IP Address Control
http://msdn.microsoft.com/en-us/library/bb761374(VS.85).aspx
Gambit
You might find what you are looking for at torry.net.
http://www.torry.net/quicksearchd.php?String=ip+edit&Title=Yes
Kind Regards
Roy M Klever