Solved

Is TextBox and MaskEdBox are same functionality

Posted on 2001-07-11
4
227 Views
Last Modified: 2008-02-01
Is there any problem if i use MaskEdBox control instead of TextBox control for normal data entry i.e. Name, Address etc.


Saleem
0
Comment
Question by:pak_slm
  • 2
4 Comments
 
LVL 17

Expert Comment

by:inthedark
ID: 6275944
I gave up using MaskedEdit as it had some bugs if you where rapidly changing focus from one control to another.  The text box did not have this problem.  But this was back in 96 so it may have been fixed now.




0
 
LVL 9

Accepted Solution

by:
Valliappan AN earned 10 total points
ID: 6276084
Textbox is better, if you are using for normal entry, since, MaskEdBox, has some additional functions, validation, formatting etc. causing the memory to load more.  Also, you add one more ocx, to your project, when you use MaskEdBox.

To me, MaskEdBox, is not so easy, unless you manage well with the properties. Textbox is easier to handle.

And for dates, you could use DTPicker control, which is very good too.

Hope This Helps You.
0
 
LVL 1

Author Comment

by:pak_slm
ID: 6276096
valli_an

if i want to input information i,e, 294-88-110172 then which control is suitable.
0
 
LVL 9

Expert Comment

by:Valliappan AN
ID: 6276236
You could use the MaskEdBox for that purpose. Or use the text box with some coding. Have a look at this:

http://www.vb-helper.com/howtobeg.htm
(Validate phone numbers, zip codes, and Canadian postal codes) - using text box

Hope this helps.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now