PRB: Error 371 or 404 Occurs When Using the Show Method (174686)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q174686 SYMPTOMS
When the MDI child form uses the Show method to open a form, you may
receive the following error:
Run-time Error '371':
The specified object can't be used as an owner form for Show().
When the MDI child form uses the Show method to open an MDI Child form, you
may receive the following error:
Run-time Error '404':
MDI child forms cannot be shown modally.
CAUSE
These errors occur if an MDI child form uses the Show method and specifies
that it owns the form to display. An MDI child form cannot own another
form.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 5/13/2003 |
---|
Keywords: | kberrmsg kbprb KB174686 |
---|
|