Cannot create an instance of Module '<modulename>'

A module exists only as a single shared instance, and additional instances cannot be created.

Error ID: BC30166

To correct this error

  • Change the module to a class, or replace it in the New clause with a class name.

See Also


Implements Keyword and Implements Statement


Module Statement