VB6 – Compile error: User-defined type not defined
If you see the following error on a Dim statement such as the following:
Dim sa as New CkStringArray
Make sure you add a reference to the appropriate Chilkat ActiveX. Select “Project–>References” from the VB6 menu and then check the checkbox next to the Chilkat ActiveX component to be referenced. (Select “Chilkat Util” for the CkStringArray object.) The complete mapping of objects to DLL’s is found here: Mapping of Chilkat Objects to DLLs.