Export (0) Print
Expand All
337 Component not found in registered location
338 Component could not successfully create requested object
339 Component 'item' or one of its dependencies not correctly registered . . .
Expand Minimize
16 out of 48 rated this helpful - Rate this topic

Visual Basic Reference

Visual Studio 6.0

Can't show non-modal form when modal form is displayed (Error 401)

See Also

When a modal form is displayed, you cant display another non-modal form. This error has the following cause and solution:

  • You tried to use the Show method or set the Visible property to True on a non-modal form when another form is already displayed as modal.

    Use either the Unload statement or the Hide method on the modal form before attempting to use the Show method on a non-modal form.

© 2014 Microsoft. All rights reserved.