PRB: Error Message "User-defined Type Not Defined" (178726)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q178726 SYMPTOMS
The following error message displays on the code line that dimensions a
user-defined variable:
"Compile Error
User-defined type not defined"
CAUSE
The most common cause of this error message is the Object library that
contains the variable information was not referenced in the project.
RESOLUTION
To correct this error, reference the Object library in your project.
STATUS
This behavior is by design.
REFERENCES
If 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:
173407 HOWTO: Register Your Custom ActiveX DLL from a Client
Modification Type: | Major | Last Reviewed: | 5/13/2003 |
---|
Keywords: | kbprb KB178726 |
---|
|