473,386 Members | 1,621 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,386 software developers and data experts.

What happened to the MaskEdit control?

I've been programming in VB.Net for quite a while now, and just realized
that it seems to be mssing the MaskEdit control!

I never much cared for it in VB6, but I have a customer who insists on the
function (where the text box contains " / / " and they fill in the
date.

It seems that you can use the MaskEdit COM control by adding a reference to
it, but I want to sublcass it to mimic some of the behavior of a text box,
so I can use it with my existing objects.

However, when I tried creating a control that inherits from the
MaskEditClass (seemingly the only thing in the MaskEdit namespace that can
be inherited), VB.Net does not seem to recognize it as a control (can't view
it in the designer, and can't add it to the Toolbox).

How do you get the functionality of the MaskEdit in .Net control?

Thanks!
---Selden McCabe
Nov 20 '05 #1
4 3645
Hi,

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

Ken
-----------------
"Selden McCabe" <se*****@msn.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
I've been programming in VB.Net for quite a while now, and just realized
that it seems to be mssing the MaskEdit control!

I never much cared for it in VB6, but I have a customer who insists on the
function (where the text box contains " / / " and they fill in the
date.

It seems that you can use the MaskEdit COM control by adding a reference
to
it, but I want to sublcass it to mimic some of the behavior of a text box,
so I can use it with my existing objects.

However, when I tried creating a control that inherits from the
MaskEditClass (seemingly the only thing in the MaskEdit namespace that can
be inherited), VB.Net does not seem to recognize it as a control (can't
view
it in the designer, and can't add it to the Toolbox).

How do you get the functionality of the MaskEdit in .Net control?

Thanks!
---Selden McCabe

Nov 20 '05 #2
* "Selden McCabe" <se*****@msn.com> scripsit:
How do you get the functionality of the MaskEdit in .Net control?


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

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #3
Thanks for the feedback. The FlexMaskEditBox control looks like a very nice
piece of work.

One thing it seems to lack (unless I missed it) was the ability that the
MaskEdit control has where you put "__/__/____" in the mask, and the user
sees " / / " in the control as a visual cue that they are to enter a
date. And when they type the numbers, after two digits are entered, it
moves to the month, etc.

Does the FlexMaskEditBox control have this capability?

I'm starting to think I'll have to create a user control with three text
boxes and a whole bunch of code to duplicate this function!

Any suggestions, ideas, etc. would be really welcome!

Thanks,
---Selden
Nov 20 '05 #4
* "Selden McCabe" <se*****@msn.com> scripsit:
One thing it seems to lack (unless I missed it) was the ability that the
MaskEdit control has where you put "__/__/____" in the mask, and the user
sees " / / " in the control as a visual cue that they are to enter a
date. And when they type the numbers, after two digits are entered, it
moves to the month, etc.

Does the FlexMaskEditBox control have this capability?


Sorry, I never worked with this control. If you find it out, it would
be great if you share your experiences with this control with the group.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #5

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

Similar topics

47
by: Neal | last post by:
Patrick Griffiths weighs in on the CSS vs table layout debate in his blog entry "Tables my ass" - http://www.htmldog.com/ptg/archives/000049.php . A quite good article.
121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
13
by: Jason Huang | last post by:
Hi, Would someone explain the following coding more detail for me? What's the ( ) for? CurrentText = (TextBox)e.Item.Cells.Controls; Thanks. Jason
1
by: JS | last post by:
Hello, I am using ASP .Net to create my own web controls and I have noticed that there is one too many requirements that forces the developer to be aware of and get involved with. In the past...
0
by: Quentin Huo | last post by:
Hi: In my page, there is a user control and there are some actions in the user control like "save", "delete",...which are the control <asp:button onclick="btSave_Click" ......>. And there are...
9
by: Jay | last post by:
Everywhere I go (read/browse) I see these parameters.... ByVal sender As Object, ByVal e As System.EventArgs Yet I never see them used within the function/method. Could someone tell me what they...
2
by: ramesh_tankala | last post by:
hi... How to handle date using Maskedit(Correect date)
0
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hello misters, I have an application web in asp.net 2.0. I use ASP.NET AJAX and AjaxControlToolkit. I have several tabs in an aspx page, and I try validate controls. I include ValidationGroup...
1
by: Steve Richter | last post by:
a simple web page that adds controls to a Panel control at run time. Problem is, on PostBack, all the controls I added to the Panel are missing! ViewState is enabled on the panel. What happened to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
0
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
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
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...

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.