can be a Version Conflict of the control. Some dlls cause the same problem. like we try to add a DAO library from the reference menu when another version of DAO (old or new) is selected , we get the same error.
If you have Windows NT, it should be in your C:\WINNT\system32\MSMASK32.OCX or else just find it. When you go to add components, try to browse it through there to, but make sure where the file is first. Hope it helps. Let me know.....
Atif AKA AK
VB 5.0
VB 6.0 Professional
VBA, Macros, JAVA, C++
If you attempt to enter a character that conflicts with the input mask, the control generates a ValidationError event. The input mask prevents you from entering invalid characters into the control.
The Masked Edit control has three bound properties: DataChanged, DataField, and DataSource. This means that it can be linked to a data control and display field values for the current record in the recordset. The Masked Edit control can also write out values to the recordset.
To clear the Text property when you have a mask defined, you first need to set the Mask property to an empty string, and then the Text property to an empty string:
MaskedEdit1.Mask = ""
MaskedEdit1.Text = ""
Which method are you trying to apply from Masked Edit Control/Box??
Atif AKA AK
VB 5.0
VB 6.0 Professional
VBA, Macros, JAVA, C++
You don't understand! I can't add the control to my project because of some error adding it to the project. Therefore, I am not using it anywhere in my project, because it's not a component.
try unregistering all the ocx's and try registering again. Or install the OCX from one of the Visual Studio cds. I don't remember the CD No. U'll find the Cab/Zip files of almost all the OCXs there.
I completely uninstalled an reinstalled VB yesterday to try to fix this problem. I tried unregistering when you posted the suggestion first, and it won't even let me unregister the ocx.
I have added that component into this attatched file. can you use it now? All you gotta do is, copy paste all the code and form you got into this one. dis it help. let me know?
Atif AKA AK
VB 5.0
VB 6.0 Professional
VBA, Macros, JAVA, C++