How to remove the underline of the MaskedTextBox control in VB.NET 2005

Posted on 2006-05-18
Last Modified: 2008-01-09
In VB.Net 2005, the underline appear at the MaskedTextBox control after apply the mask property.  How to remove the underline?

Thanks in advance!!!
Question by:ipdicky
    LVL 69

    Accepted Solution

    Hi ipdicky,

    Are you talking of the PromptChar?  


    Author Comment

    Thank you very much!! After I set the PromptChar to a space, the underline disappeared!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
    A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now