468,463 Members | 2,030 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,463 developers. It's quick & easy.

INPUT MASK FOR TEXTBOX IN WINDOWS FORM

Hello.
How can I set input mask for TextBox in Windows Form?
For example I want to mask (format) TextBox for inputing phone number like
(999) 999-99-99.
The TextBox must first show something like this: (___) ___-__-__

Or is there any free component for this?

How can I do this?
Nov 20 '05 #1
5 23179
Hi MsNews,

I think I would just use 4 textboxes side by side as we often seen done for
that

It makes your program not real globalized by the way.

I hope this helps?

Cor
Nov 20 '05 #2
Hi MsNews,

I think I would just use 4 textboxes side by side as we often seen done for
that

It makes your program not real globalized by the way.

I hope this helps?

Cor
Nov 20 '05 #3
* "msnews.microsoft.com" <da*********@hotmail.com> scripsit:
How can I set input mask for TextBox in Windows Form?


<URL:http://www.codeproject.com/cs/miscctrl/maskedcsedit.asp>
<URL:http://www.codeproject.com/vb/net/maskedbox_control.asp>
<URL:http://www.codeproject.com/vb/net/validtext3.asp>
<URL:http://www.codeproject.com/vb/net/cpflexmaskeditbox.asp>
<URL:http://www.codeproject.com/useritems/ValidText.asp>
....

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #4
On Mon, 3 May 2004 10:37:59 +0400, "msnews.microsoft.com" <da*********@hotmail.com> wrote:

¤ Hello.
¤ How can I set input mask for TextBox in Windows Form?
¤ For example I want to mask (format) TextBox for inputing phone number like
¤ (999) 999-99-99.
¤ The TextBox must first show something like this: (___) ___-__-__
¤
¤ Or is there any free component for this?

Try the following:

http://www.codeproject.com/vb/net/cpflexmaskeditbox.asp
http://www.dotnet247.com/247referenc...es/1/8440.aspx

There will be a MaskedEdit control included in .NET for the next version release.
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 20 '05 #5
Use componentOne free components with ' The Visual Basic .NET Resource Kit '
http://msdn.microsoft.com/vbasic/vbrkit/default.aspx
"msnews.microsoft.com" <da*********@hotmail.com> escreveu na mensagem
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hello.
How can I set input mask for TextBox in Windows Form?
For example I want to mask (format) TextBox for inputing phone number like
(999) 999-99-99.
The TextBox must first show something like this: (___) ___-__-__

Or is there any free component for this?

How can I do this?

Nov 20 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Miranda Evans | last post: by
2 posts views Thread by johnp | last post: by
7 posts views Thread by F. Michael Miller | last post: by
1 post views Thread by Chris Calhoun | last post: by
9 posts views Thread by msnews.microsoft.com | last post: by
2 posts views Thread by msnews.microsoft.com | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.