
Runtime Error 6 in MDI Project: Any ideas ???
Hello All,
I have the following Problem: Anybody out there with some clues ??
I have a multiple document project (developed in VB5 SP3) that is able to
open an MDI-child upon button click.
I have implemented an error handler to handle all exceptions.
The program opens 4 childs with no errors.
The 5th open-click results in a runtime error 6 "Overflow" even though I
have an error handler that should deal with these errors.
This is the code snibbet:
'#############################
On Error GoTo ErrorHdl:
MsgBox "entry"
Set frmD = New frmDocument
frmD.ProjectName = ProjectName
frmD.Caption = ProjectName
frmD.Show
MsgBox "exit"
'##############################
The application does not return to the "exit" point on the 4th open but
stops with RTE6 instead.
Any help is highly appreciated.
Ole