I have a masked text box for an ip address which has a mask like this:
"000 , 000 , 000 , 000"
the preview gives me something like this:
" . . . "
(both without the quotes)
Is there a simple way to check if this textbox has been filled or not? I tried:
If Me.MaskedTextBox.Text = Nothing Then
End If
Only to find ou that this would never work of course... Is there a simple or way to do it or I'll have to split the text by the dot and check the 4 parts if they are filled or not?
I would prefer to do this in one line if possible and not processing the whole text to see if it's empty. Is there a way?
These are awesome, and should hopefully do 2.2 soon. They use a standard MPO fibre optic cable and you can just change the ends to upgrade.
https://www.amazon.co.uk/dp/B0DPWR4BXY
RUIPRO 8K Detachable Pure Fibre Optic Armored HDMI 2.1 Cable 33FT, Ultra High Speed 48Gbps, Support 8K@60Hz 4K@120Hz, Dynamic HDR, eARC
https://ruipro.store/products/ruipro-8k-gen4ak-detachable-pure-fiber-armored-hdmi-cable
Question
ProclaimDragon
I have a masked text box for an ip address which has a mask like this:
"000 , 000 , 000 , 000"
the preview gives me something like this:
" . . . "
(both without the quotes)
Is there a simple way to check if this textbox has been filled or not? I tried:
If Me.MaskedTextBox.Text = Nothing Then End If
Only to find ou that this would never work of course... Is there a simple or way to do it or I'll have to split the text by the dot and check the 4 parts if they are filled or not?
I would prefer to do this in one line if possible and not processing the whole text to see if it's empty. Is there a way?
Link to comment
https://www.neowin.net/forum/topic/472625-vb2005-check-if-masked-text-box-is-empty/Share on other sites
8 answers to this question
Recommended Posts