GaryDavies
MIS
I have designed a VB project for my HNC course consisting of an MDI form containing a toolbar and several Child forms using
VB 6. I checked the program within the visual basic environment and found no problems. When I made an EXE FILE of the program I found an error appeared on the forms that displayed either message boxes or input boxes to the user.
The error was “401 Can’t show non-modal form when modal form is displayed”. The MDI form uses a select case method to show the selected child form. If the search form(child) for example is selected, then the form is displayed which contains a list box of possible search criteria. When the user selects a choice and presses the command button to search, the user is presented with a input box to enter their search data, and this is where the above error is displayed. As I understand it MDI & Child forms are non-modal and input / message boxes are modal so I assume that when the input box(modal) appears the MDI & search form(non-modal) which are still showing cause the problem,so how can I get around this problem???
Please Help
VB 6. I checked the program within the visual basic environment and found no problems. When I made an EXE FILE of the program I found an error appeared on the forms that displayed either message boxes or input boxes to the user.
The error was “401 Can’t show non-modal form when modal form is displayed”. The MDI form uses a select case method to show the selected child form. If the search form(child) for example is selected, then the form is displayed which contains a list box of possible search criteria. When the user selects a choice and presses the command button to search, the user is presented with a input box to enter their search data, and this is where the above error is displayed. As I understand it MDI & Child forms are non-modal and input / message boxes are modal so I assume that when the input box(modal) appears the MDI & search form(non-modal) which are still showing cause the problem,so how can I get around this problem???
Please Help