By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,910 Members | 1,077 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,910 IT Pros & Developers. It's quick & easy.

INPUT MASK FOR TEXTBOX IN WINDOWS FORM

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
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

P: n/a
* "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

P: n/a
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

P: n/a
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.