In a textbox control, how can you prevent the deletion of
certain characters? For example, a user shouldn't be able
to delete the backslash "/" character but can delete other
characters. Thanks a lot :)

Re: Preventing deletion of certain characters by Ken

Ken
Thu Sep 25 10:27:00 CDT 2003

Hi,

http://www.thecodeproject.com/vb/net/maskedbox_control.asp

Ken
-----------------
"EKS" <eks@ek-ek.com> wrote in message
news:201101c3833e$63f1d530$a101280a@phx.gbl...
>
> In a textbox control, how can you prevent the deletion of
> certain characters? For example, a user shouldn't be able
> to delete the backslash "/" character but can delete other
> characters. Thanks a lot :)



Re: Preventing deletion of certain characters by Herfried

Herfried
Thu Sep 25 16:02:32 CDT 2003

Hello,

"EKS" <eks@ek-ek.com> schrieb:
> In a textbox control, how can you prevent the deletion of
> certain characters? For example, a user shouldn't be able
> to delete the backslash "/" character but can delete other
> characters. Thanks a lot :)

http://www.codeproject.com/vb/net/maskedbox_control.asp
http://www.codeproject.com/vb/net/validtext3.asp
http://www.codeproject.com/vb/net/cpflexmaskeditbox.asp
http://www.codeproject.com/useritems/ValidText.asp

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet