Runtime error 380 is a common error which occurs during the executing the program but the property value is invalid. If you are writing a program in which you have define some property values but the values are not valid then in this condition if you run the program you will get the runtime error 380. This indicates that the program invocation has been unsuccessful. IF the system file is missing or damaged or the given command is incorrect then you can also get the runtime error 380. Runtime error are not always occurs in the system they rarely appears on the system screen if the code of the program is missing, the initializing value is incorrect, software is not installed successfully, some components of the software or system is corrupt etc. Like this problem every runtime error has a specific reason which helps the user to understand the actual issue that what is missing and what he/she has done wrong. It is basically comes with Microsoft Visual Basic programs. Visual Basic is the programming language which is supported by .NET and included in .NET.
Cause of runtime error 380:-
Cause of runtime error 380 is invalid property value of the program. If the visible property of the Mask Edit Control’s value is set as False at design time and at runtime it is changed as True then it gives the runtime error 380. Missing files of the software, or windows may be the cause of runtime error 380. If you are using an old version of MSMASK32.OCX which ships with Microsoft Visual Studio then you may also get this trouble and program terminated.
Solution of runtime error 380:-
If you are getting runtime error 380 during running the Visual Basic programs then you can fix it because it also indicate with the error message that “the property value is invalid”. When you meet with this situation then it is common to understand its issues because it is cleared that this error has occurred due to missing in your program. You have set the property value which is wrong to run the program. You have to set the value of Mask Edit Control’s property “True” at design time and “false” at runtime. You should also use the latest version of MSMASK32.OCX. If you do this activity but again getting this error then third party tool is the best solution of runtime error 380 because some files of the software or system is corrupt so install a runtime removal tool and run it to automatically fix this issue. You can use Advanced System Repair Tool which is the Microsoft partner and specially developed to repair windows files and protect the system from the attack of the malicious programs and provide safety from them.