PRB: Error Message "User-defined Type Not Defined"Last reviewed: January 5, 1998Article ID: Q178726 |
The information in this article applies to:
SYMPTOMSThe following error message displays on the code line that dimensions a user-defined variable:
"Compile Error User-defined type not defined" CAUSEThe most common cause of this error message is the Object library that contains the variable information was not referenced in the project.
RESOLUTIONTo correct this error, reference the Object library in your project.
STATUSThis behavior is by design.
MORE INFORMATIONUse the following steps to reference the Object library in your project:
REFERENCESIf you are trying to use the object library from a custom ActiveX DLL file, the following article in the Microsoft Knowledge Base shows you how to register the file:
ARTICLE-ID: Q173407 TITLE : HOWTO: Register Your Custom ActiveX DLL from a Client Keywords : vb5all VBKBDesignTime VBKBError Version : WINDOWS:5.0 Platform : WINDOWS Issue type : kbprb |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |