473,497 Members | 2,184 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

INPUT MASK FOR TEXTBOX

Hello.
How can I set input mask for TextBox?
Or can I use for mask input some other control?
Nov 16 '05 #1
9 11475
<input type="password">

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Personal favourites

WebGrid - www.webgrid.co.uk
Freeware Arena - www.freewarearena.com
Freeware Home - www.freewarehome.com
Freeware Outpost -
http://free.hostdepartment.com/f/fre...st/index2.html
ZeroPlus2 - http://zp2.it-mate.co.uk
Fort Freeware - http://freeware.quantum.2ya.com/
Pricelessware - http://www.pricelessware.org
El-Mambo - http://www.el-mambo.net/
Practically Nerded - http://mvps.org/PracticallyNerded/
Bugs, Glitches n stuff - http://mvps.org/inetexplorer/Darnit.htm
Calendar of Updates - http://www.dozleng.com/updates/index.php?&act=calendar
Seniority - http://www.seniority.co.uk
Remembering Dunblane - http://www.dunblane.braveheart.com/
Echo Echo - http://www.echoecho.com/
"msnews.microsoft.com" <da*********@hotmail.com> wrote in message
news:uC**************@tk2msftngp13.phx.gbl...
Hello.
How can I set input mask for TextBox?
Or can I use for mask input some other control?

Nov 16 '05 #2
Woops..... just realised this isn't one of the ASP one's

You can set the mask in your code btw (or the VB IDE properties dialog)

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Personal favourites

WebGrid - www.webgrid.co.uk
Freeware Arena - www.freewarearena.com
Freeware Home - www.freewarehome.com
Freeware Outpost -
http://free.hostdepartment.com/f/fre...st/index2.html
ZeroPlus2 - http://zp2.it-mate.co.uk
Fort Freeware - http://freeware.quantum.2ya.com/
Pricelessware - http://www.pricelessware.org
El-Mambo - http://www.el-mambo.net/
Practically Nerded - http://mvps.org/PracticallyNerded/
Bugs, Glitches n stuff - http://mvps.org/inetexplorer/Darnit.htm
Calendar of Updates - http://www.dozleng.com/updates/index.php?&act=calendar
Seniority - http://www.seniority.co.uk
Remembering Dunblane - http://www.dunblane.braveheart.com/
Echo Echo - http://www.echoecho.com/
"msnews.microsoft.com" <da*********@hotmail.com> wrote in message
news:uC**************@tk2msftngp13.phx.gbl...
Hello.
How can I set input mask for TextBox?
Or can I use for mask input some other control?

Nov 16 '05 #3
> How can I set input mask for TextBox?
Or can I use for mask input some other control?


The TextBox doesn't support a mask property (except, if you want to
think of the PasswordChar property as a "mask"). There is a control
named MaskedEditBox, but it is generally considered to be a "weak"
control to use. What type of input mask are you interested in (perhaps
we can devise some code to implement it)?

Rick - MVP

Nov 16 '05 #4
Hi,

There is no good control in Visual Studio 6, which would provide masked
functionality. MaskedEditBox is not very good. I would suggest to use some
third-party, controls, which have built-in functionality to input only
numeric, date or some other information. FarPoint controls do pretty good
job in this area

www.fpoint.com

--
Val Mazur
Microsoft MVP
"msnews.microsoft.com" <da*********@hotmail.com> wrote in message
news:uC**************@tk2msftngp13.phx.gbl...
Hello.
How can I set input mask for TextBox?
Or can I use for mask input some other control?

Nov 16 '05 #5

"Val Mazur" <gr******@hotmail.com> wrote in message
news:uY**************@TK2MSFTNGP09.phx.gbl...
Hi,

There is no good control in Visual Studio 6, which would provide masked
functionality. MaskedEditBox is not very good. I would suggest to use some
third-party, controls, which have built-in functionality to input only
numeric, date or some other information. FarPoint controls do pretty good
job in this area

www.fpoint.com

--
Val Mazur
Microsoft MVP

Or, possibly, extend and enhance The .NET TextBox class yourself in a class
library?

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
Nov 16 '05 #6
TEXTMODE="password"
"msnews.microsoft.com" <da*********@hotmail.com> wrote in message
news:uC**************@tk2msftngp13.phx.gbl...
Hello.
How can I set input mask for TextBox?
Or can I use for mask input some other control?

Nov 16 '05 #7
TEXTMODE="password"
"msnews.microsoft.com" <da*********@hotmail.com> wrote in message
news:uC**************@tk2msftngp13.phx.gbl...
Hello.
How can I set input mask for TextBox?
Or can I use for mask input some other control?

Nov 16 '05 #8
"msnews.microsoft.com" <da*********@hotmail.com> wrote in message
news:uC**************@tk2msftngp13.phx.gbl
Hello.
How can I set input mask for TextBox?
Or can I use for mask input some other control?


what platform? You've crossposted to a bunch of VB classic groups, a
C#-specific group and and general dotnet group...

--
Reply to the group so all can participate
VB.Net... just say "No"

Nov 16 '05 #9
"msnews.microsoft.com" <da*********@hotmail.com> wrote in message
news:uC**************@tk2msftngp13.phx.gbl
Hello.
How can I set input mask for TextBox?
Or can I use for mask input some other control?


what platform? You've crossposted to a bunch of VB classic groups, a
C#-specific group and and general dotnet group...

--
Reply to the group so all can participate
VB.Net... just say "No"

Nov 16 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3696
by: johnp | last post by:
Hi, Our Tech department updated users to Office 2003 this week. Now the input mask in one of the applications is showing up as: (###) ###-### The input mask wizard works correctly when I...
1
9690
by: Tony | last post by:
Hello everyone... Just wondering is it possible to have input mask in a textbox control? i want my phone number textbox to force the user to enter in this format (__) ____ ____ Is there any way...
2
4386
by: msnews.microsoft.com | last post by:
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...
0
6265
by: Christian | last post by:
Hi all, on a PocketPC 2003 dialog I want the user to enter an IP-Adress using a TextBox control. Within the TextBox control I would like to display an predefined input mask like xxx.xxx.xxx.xxx ...
4
4265
by: ad | last post by:
I want to limit the input of usr to 0..9 or a..z How can I do that?
0
1380
by: jmarr02s | last post by:
I am using the following input mask 00\-A0000000. The values entered using this input mask will have one of the following formats: 14-X1234567 OR 14-1234. What must I change on the textbox...
3
3490
by: ApexData | last post by:
I have an unbound textbox that I want to restrict to 10 characters. I defined the mask as follows CCCCCCCCCC;;" " The problem is that the behavior of the cursor changed beyond my request....
1
2846
by: Greg Smith | last post by:
Is there a way to mask input for a TextBox? I would like to have TextBoxes that accept only: - numbers - currency Any help is greatly appreciated.
3
3947
by: rudeman76 | last post by:
Hi, I have been trying to find the answer to this for a couple days now. What I have is a textbox (txtTime) that the user will enter a time into. What I want is that the user can only enter in...
0
7120
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6991
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7196
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7373
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5456
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4583
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1405
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
649
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
286
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.