Error Message: Property or Method Not Found (180727)
The information in this article applies to:
- Microsoft Windows 95
- Microsoft Windows 95 OEM Service Release 1
- Microsoft Windows 95 OEM Service Release 2
- Microsoft Windows 95 OEM Service Release 2.1
This article was previously published under Q180727 SYMPTOMS
When you run a 16-bit program created using Microsoft Visual Basic 4.0,
you may receive either of the following error messages:
Run-time error 438: Property or method not found
Run-time error 423: Object doesn't support this property or method
When either of these error messages occurs, the program may not be able to
continue running and may terminate unexpectedly.
CAUSE
These error message can occur if the following conditions exist:
The 16-bit program references some of its controls as variables.
Windows 95 is configured for a region other than the Unites States.
There is not enough physical memory (RAM) in the computer for all the
currently running programs to run completely in RAM memory.
There is a problem in the LSTRCMP and LSTRCMPI string-comparison functions
in Windows 95. This problem prevents the string comparison from succeeding
if Windows 95 is configured for a non-U.S. locale and one of the strings
being compared is in a 16-bit segment that has been discarded. Microsoft
Visual Basic 4.0 relies on these string-comparison functions to find the
program's controls, depending on how the program is written. The error
message occurs if the program cannot find its controls.
RESOLUTION
To work around this problem, use any of the following methods:
- Change the Windows 95 location setting to "English (United States)"
using the Regional Settings tool in Control Panel.
- Run the program in Microsoft Windows NT.
- Compile the program as a 32-bit program.
- Compile the program using Visual Basic 5.0, which does not mark code
segments as discardable when the program is compiled.
- Rewrite the program to change the way it references its controls. For
information about this method, see the "More Information" section of
this article.
STATUS
Microsoft has confirmed this to be a problem in Windows 95 and Windows 95
OEM Service Release 2 (OSR2). We are researching this problem and will
post new information here in the Microsoft Knowledge Base as it becomes
available.
This issue is resolved in Microsoft Windows 98.
REFERENCES
For additional information, please see the following article in the
Microsoft Knowledge Base:
178529 BUG: LSTRCMP and LSTRCMPI May Fail With Non-US Regional
Settings
Modification Type: | Minor | Last Reviewed: | 6/5/2006 |
---|
Keywords: | kbHotfixServer kbQFE kberrmsg kbinterop kbprb kbProgramming KB180727 |
---|
|