473,385 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 23521
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Miranda Evans | last post by:
In my application, a text box control resides in a form. The text box control is unbound, but--assuming all edits are passed when the user click a command button on the form--the contents of the...
9
by: Paul | last post by:
hi, is there an input mask i could use on a report to do the following: (1) if i enter "THISISATEST" on my form, i want the text box on my report to display: "T H I S I S A T E S T". (2) if...
2
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...
7
by: F. Michael Miller | last post by:
I have a db with Access front end, sql back, linked tables. I need to be able to change input masks at the table level in code. Any ideas? Thanks!
2
by: BerkshireGuy | last post by:
Is there a way to display what the expected format is before entering a control. For instance, if I have the input mask of 99/99/0000;0;#, it shows me ##/##/##, but only when I type the first...
1
by: Chris Calhoun | last post by:
Does anyone know how to put an input mask on a textbox? Without using a thrid party control? Thanks.
9
by: msnews.microsoft.com | last post by:
Hello. How can I set input mask for TextBox? Or can I use for mask input some other control?
2
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
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 ...
7
desklamp
by: desklamp | last post by:
I'm a total Access newbie, please bear with me! Using Win2K/Access 2003. I'm trying to create a table in which I can store IP addresses and other information. According to Microsoft, there is no...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.