weight01
asked on
VB 2005 Masked Text Box IP Address
Hi
I would like to use the MaskedTextBox control to enter and IP address.
The custom works fine for 3 digits ie 255.255.255.255 but not for less ie 10.10.0.1
Thanks
I would like to use the MaskedTextBox control to enter and IP address.
The custom works fine for 3 digits ie 255.255.255.255 but not for less ie 10.10.0.1
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
i found this site relating to your question asked:
http://www.vbforums.com/showthread.php?t=429940
it gives you the source for creating your own textbox into an ip address maskbox.
http://www.vbforums.com/showthread.php?t=429940
it gives you the source for creating your own textbox into an ip address maskbox.
ASKER
Thanks all
I think i will go for the 4 groups.
gangwisch - that code almost worked except you can enter 4 characters into the first section - thanks for your help anyway.
I think i will go for the 4 groups.
gangwisch - that code almost worked except you can enter 4 characters into the first section - thanks for your help anyway.
the 9 is for an optional digit...
NY