title: compile error: user-defined type not defined
body: <p>There is compile error 'user-defined type not defined' I get in VB6 when I was tried to compile this code. Can anybody tell me what I need to do to solve this error? Following is the line for which I got the error:</p>
  
  <pre><code>Public Conn As ADODB.Connection
  
  Public rs As ADODB.Recordset
  </code></pre>