The information in this article applies to:
SYMPTOMSSome data access objects in Visual Basic for Windows version 4.0 no longer have the default "Name" property. Instead, these objects now have a default collection. This change can lead to "Type Mismatch" (Error 13) or "Invalid Argument" (Error 3001) errors when attempting to run your code. WORKAROUND
To work around this problem, add the name of the property you want to
reference.
instead of this:
MORE INFORMATION
If a data access object in Microsoft Visual Basic version 4.0 has a
collection as a property, the collection is now the default property. There
is no longer support for default properties on any objects except Field,
Parameter and Property objects.
can be written as this:
Additional query words: 4.00 compatibility vb4win vb4all
Keywords : |
Last Reviewed: September 17, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |