• 0

[VB2005] Check if masked text box is empty


Question

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?

8 answers to this question

Recommended Posts

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Good to see Microsoft focussing on the important Windows 11 issues.
    • That's right, people who don't like something despite justifying why should merely be dismissed as haters. Fine then, lets just dismiss Microsoft as a New Outlook fanboy.
    • I'm dyslexic, in "classic" outlook for the last 20 years I have been able to easily select a misspelt word and ask Outlook to auto correct it. This "feature" has disappeared in the New Outlook hot garbage.
    • And we think AI can take over lower level programmers jobs? Just search for the SHA hash for the "rogue" sound file and delete it.
    • Meta will use AI to summarize your WhatsApp messages by David Uzondu Recently, Meta announced that ads are coming to WhatsApp, appearing in Status and Channels. Now, another update is on its way, this time in the form of a new feature called "Message Summaries", that leverages Meta's AI to summarize your chats for you. For those moments when you are drowning in unread messages, you can choose to have the AI generate a quick summary to get the gist of a conversation. To address the immediate privacy alarms this sets off, Meta says that its "Private Processing technology" will be used. This supposedly ensures that neither Meta nor WhatsApp can see your original messages or the private summaries the AI generates. To prove its sincerity, Meta published a deep technical white paper that explains how this privacy is supposed to be maintained. In the technical documentation, Meta explains the way it works is built on "Trusted Execution Environments (TEEs)". These TEEs are essentially secure, isolated black boxes running on a server, powered by hardware like NVIDIA H100 GPUs. Your phone establishes a direct, encrypted connection to one of these TEEs, sends the message data for processing, and receives the summary. Meta's own administrators and other systems supposedly cannot peek inside this box. And when the job is done, no message is retained. The security of the entire system hinges on being able to trust that this TEE is what it claims to be. Meta's system uses a process called remote attestation. Before your phone sends any data, it demands proof from the server. This proof is a cryptographic report, signed by the hardware itself, verifying that the TEE is running the exact, unmodified software that Meta has publicly logged with a third party like Cloudflare. Only if that proof checks out does the connection proceed. Users will have control over this process. The feature is off by default, and a setting under "Advanced Chat Privacy" will let you specify which chats can be shared for AI features. Message Summaries is currently rolling out in English for users in the US, with Meta planning for a global expansion sometime next year.
  • Recent Achievements

    • First Post
      solidox earned a badge
      First Post
    • First Post
      BA the Curmudgeon earned a badge
      First Post
    • One Year In
      blissa jayden earned a badge
      One Year In
    • One Month Later
      blissa jayden earned a badge
      One Month Later
    • Week One Done
      blissa jayden earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      583
    2. 2
      ATLien_0
      219
    3. 3
      +FloatingFatMan
      171
    4. 4
      Michael Scrip
      156
    5. 5
      Som
      152
  • Tell a friend

    Love Neowin? Tell a friend!