EDN Admin
Well-known member
Hi Everyone,
Ive been trying to format a Maskedtextbox so that I can enter an IP address. Ive enterd the mast as ###.###.###.### but obviously I have to use all three digits ie 192.168.001.001 for the mask to work correctly. Is there a way I can have it so in each octect only the 1st value is required, and the other two optional.
Also, once this is working is there a way to specifically extract parts of the IP address? Ie if a class C is entered, is there a way to extract only the values in the last octect.
Thanks
David
View the full article
Ive been trying to format a Maskedtextbox so that I can enter an IP address. Ive enterd the mast as ###.###.###.### but obviously I have to use all three digits ie 192.168.001.001 for the mask to work correctly. Is there a way I can have it so in each octect only the 1st value is required, and the other two optional.
Also, once this is working is there a way to specifically extract parts of the IP address? Ie if a class C is entered, is there a way to extract only the values in the last octect.
Thanks
David
View the full article