Solved

Is TextBox and MaskEdBox are same functionality

Posted on 2001-07-11
4
236 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

732 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