FIX: Error 438"Object Doesn't Support This Property or Method"ID: Q175616
|
Error 438 occurs when running a program in which a form is assigned to a
variable and that variable is used to access a control on the form if the
program is on a system running Windows 95 with Regional Settings set to a
setting other than English (United States). The error text is:
Run-Time Error #438:
Object doesn't support this property or method
There are two possible workarounds for this problem.
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem has been fixed in Windows 98.
To reproduce this bug consistently, you will need HeapWalker, a utility
that ships with the Windows 16-bit Software Development Kit and the 16-bit
version of Visual C++.
Private Sub Command1_Click()
Dim MyForm As Form
Dim i As Long
Set MyForm = Form1
For i = 1 To 10000
MyForm.Command1.Caption = i
DoEvents
Next i
End Sub
Additional query words: kb16bitonly kbVBp400bug kbNoKeyWord kbVBp kbDSupport kbdsd kbWinOS98fix
Keywords :
Version : WINDOWS:4.0
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: June 9, 1999