Class '<classname>' could not be created: <error>

A class initialization has failed. One possible cause is a corrupted .NET Framework installation.

Error ID: BC32400

To correct this error

  1. Examine the quoted error message and take appropriate action.

  2. Reinstall the .NET Framework and recompile the program.

  3. If the error recurs, reinstall the Visual Basic compiler.

  4. If the error persists after reinstallation, gather information about the circumstances and notify Microsoft Product Support Services.