Circular references between modules

A cycle between modules prevents Visual Basic from being able to compile your program.   Restructure your code to eliminate the cycle.  Example of a cycle:

Module 1:                                 Module 2:

  dim  a as t2           type t2

  type t1                     x as integer

    x as integer         end type

  end type               dim b as t1