Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Is TextBox and MaskEdBox are same functionality

Posted on 2001-07-11
4
Medium Priority
?
242 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 20 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] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…
Suggested Courses

916 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