Object doesn't support current locale setting
You attempted to access an abject that does not support your current locale
settings. A locale setting is a set of information that corresponds to a given
language and country/region. A locale affects the language of predefined
programming terms and locale-specific settings. There are two contexts where
locale information is important:
- The code locale affects the language of terms such as keywords, and
defines locale-specific settings such as the decimal and list separators, date
formats, and character sorting order.
- The system locale affects the way locale-aware functionality behaves.
For example, when you display numbers, or convert strings to dates. You set the
system locale using the Control Panel utilities provided by the operating
system.
To correct this error
- Check which locale settings the object supports.
See Also
VBScript Glossary | CDate Function
|