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

MaskedEdit Control

P: n/a
I want to restrict users to enter only numbers in a textbox control. I have
written a code in keypress to prevent user to enter other than numeric values.

I have also read many places that I can use MaskedEdit Control. My questions
is why can't I see this control in my Toolbox just like I can see other
controls like textbox, radio button etc.

Thanks.
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hi,

VB.NET doesnt come with one. Here are a few free ones

http://www.codeproject.com/vb/net/cpflexmaskeditbox.asp

http://www.codeproject.com/useritems/MaskedTextBox.asp

Ken
-----------------
"patang" <pa****@discussions.microsoft.com> wrote in message
news:19**********************************@microsof t.com...
I want to restrict users to enter only numbers in a textbox control. I have
written a code in keypress to prevent user to enter other than numeric
values.

I have also read many places that I can use MaskedEdit Control. My questions
is why can't I see this control in my Toolbox just like I can see other
controls like textbox, radio button etc.

Thanks.
Nov 21 '05 #2

P: n/a
"patang" <pa****@discussions.microsoft.com> schrieb:
I want to restrict users to enter only numbers in a textbox control. I have
written a code in keypress to prevent user to enter other than numeric
values.


<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>
....

..NET 2.0 will contain a masked edit control.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3

P: n/a
J L
Check out this link

http://msdn.microsoft.com/library/de...et04082003.asp

John

On Sun, 27 Mar 2005 13:22:15 +0200, "Herfried K. Wagner [MVP]"
<hi***************@gmx.at> wrote:
"patang" <pa****@discussions.microsoft.com> schrieb:
I want to restrict users to enter only numbers in a textbox control. I have
written a code in keypress to prevent user to enter other than numeric
values.


<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>
...

.NET 2.0 will contain a masked edit control.


Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.