D
Don
We have an application that after some form, report, and VBA code
modifications now fails to work on one machine. The main switchboard form
comes up, but when you select an option from it, the following VBA error is
raised:
Run-Time Error '438':
Object doesn't support this property or method
When "Debug" is selected, a VBA window opens with code from a sub-form of
the form that is supposed to have opened. The line of code, for what it is
worth, is:
cbCancelSupervisorChanges.Enabled = False
Given that the code works on three other machines, it would seem that the
object really does support the property or method.
Two observations:
1) The form being opened (the one that causes the run-time error) has an
Open event. The switchboard form and splash screen do not. That is to say,
this is the first form where VBA code is encountered and run.
2) In the VBA IDE, the Tools->Compile button is always greyed out on the
offending machine.
This all leads me to believe there is some sort of VBA problem. I did a
search on the error number, and it sighted component mis-match as a possible
cause as well as some system DLL issues (vague references to
MSNConnectionVProxy.dll and pksocx.dll). As I have seen something similar
to this before and the problem there was a mis-match of versions in the VBA
References (in a VBA window Tools->References), I reviewed that. The
offending machine had the following:
Visual Basic for Applications
Microsoft Access 10.0 Object Library
Microsoft DAO 3.6 Object Library
OLE Automation
Microsoft Visual Basic for Applications Extensibility 5.3
Whereas the 3 other machine that work have:
Visual Basic for Applications
Microsoft Access 9.0 Object Library
Microsoft DAO 3.6 Object Library
OLE Automation
Microsoft Visual Basic for Applications Extensibility 5.3
The difference being the version of the Microsoft Access Object Library
(10.0 vs. 9.0).
The offending machine is running Win2000 with OfficeXP. One of the "good"
machines is XP with Office XP. The other machines are Win2000/Office 2000
(for sure!).
Any ideas on how to whack this bug will be greatly appreciated!!!
Thanks!!
Don
modifications now fails to work on one machine. The main switchboard form
comes up, but when you select an option from it, the following VBA error is
raised:
Run-Time Error '438':
Object doesn't support this property or method
When "Debug" is selected, a VBA window opens with code from a sub-form of
the form that is supposed to have opened. The line of code, for what it is
worth, is:
cbCancelSupervisorChanges.Enabled = False
Given that the code works on three other machines, it would seem that the
object really does support the property or method.
Two observations:
1) The form being opened (the one that causes the run-time error) has an
Open event. The switchboard form and splash screen do not. That is to say,
this is the first form where VBA code is encountered and run.
2) In the VBA IDE, the Tools->Compile button is always greyed out on the
offending machine.
This all leads me to believe there is some sort of VBA problem. I did a
search on the error number, and it sighted component mis-match as a possible
cause as well as some system DLL issues (vague references to
MSNConnectionVProxy.dll and pksocx.dll). As I have seen something similar
to this before and the problem there was a mis-match of versions in the VBA
References (in a VBA window Tools->References), I reviewed that. The
offending machine had the following:
Visual Basic for Applications
Microsoft Access 10.0 Object Library
Microsoft DAO 3.6 Object Library
OLE Automation
Microsoft Visual Basic for Applications Extensibility 5.3
Whereas the 3 other machine that work have:
Visual Basic for Applications
Microsoft Access 9.0 Object Library
Microsoft DAO 3.6 Object Library
OLE Automation
Microsoft Visual Basic for Applications Extensibility 5.3
The difference being the version of the Microsoft Access Object Library
(10.0 vs. 9.0).
The offending machine is running Win2000 with OfficeXP. One of the "good"
machines is XP with Office XP. The other machines are Win2000/Office 2000
(for sure!).
Any ideas on how to whack this bug will be greatly appreciated!!!
Thanks!!
Don