"OLE Automation Run-time Error 440" When Displaying TimeLast reviewed: July 29, 1997Article ID: Q123970 |
The information in this article applies to:
SYMPTOMSWhen you use the Visual Basic, Applications Edition, Time function to display the current system time, you may receive the following error message:
Run-time error '440': OLE Automation error CAUSEThe Time function is unable to convert the system time using the settings that are specified in the International Settings in Control Panel. This problem will occur if the following entries are missing from the [intl] section of the WIN.INI file:
sShortDate=M/d/yy sLongDate=dddd', 'MMMM' 'd', 'yyyy sLanguage=enu sCountry=United States WORKAROUNDTo work around this problem, add the following line to the [intl] section of the WIN.INI:
sShortDate=M/d/yy sLongDate=dddd', 'MMMM' 'd', 'yyyy sLanguage=enu sCountry=United StatesYou can also force the correct setting to be written to the [intl] section by making certain changes in Control Panel. To add the appropriate settings, use the following steps:
|
Additional query words: xl5 prj4 "run-time error 440"
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |