Article ID: 178726 - View products that this article applies to.
This article was previously published under Q178726
This article has been archived. It is offered "as is" and will no longer be updated.
The following error message displays on the code line that dimensions a user-defined variable:
User-defined type not defined"
The most common cause of this error message is the Object library that contains the variable information was not referenced in the project.
To correct this error, reference the Object library in your project.
Use the following steps to reference the Object library in your project:
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:
(https://support.microsoft.com/kb/173407/EN-US/ )HOWTO: Register Your Custom ActiveX DLL from a Client
Article ID: 178726 - Last Review: February 24, 2014 - Revision: 3.0