Maskedtextbox raw value

Posted on 2006-06-05
Last Modified: 2012-06-21
Hi. I used to get the raw (unformatted or unmasked) value from maskedtext boxes by using cliptext property in VB6.0. There is no cliptext property in VB2005 .net so How can I get the raw value from maskedtextbox? I saw that this explanation on msdn;

ClipText = Text

The Visual Basic 6.0 ClipText property excludes literals; in Visual Basic 2005 literals are included unless SkipLiterals is set to true.

But seems not working.
Question by:gokhanoz
    LVL 69

    Accepted Solution

    Hi gokhanoz,

    Set the TextMaskFormat property to ExcludePromptAndLiterals and query the Text Property.


    Author Comment


    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    Introduction When many people think of the WebBrowser ( control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
    1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    733 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

    18 Experts available now in Live!

    Get 1:1 Help Now