Solved

Is TextBox and MaskEdBox are same functionality

Posted on 2001-07-11
4
235 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

685 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