Object was unloaded (Error 364)
A form was unloaded from its own _Load procedure. This error has the following cause and solution:
- A form with an Unload statement in its _Load procedure was implicitly loaded. For example, the following will implicitly load
if it isn't already loaded:YourFormMyForm.BackColor = YourForm.BackColor.Remove the Unload statement from the Form_Load procedure.