hazlehurstga
Programmer
I'm receiving the following error the first time I attempt to add a line to a procedure control module :
"Can't enter break mode at this time."
The error dialog box asks if I want to continue or end the program. When I choose to continue, the program runs until completion but the debugger is no longer available for breaks or error trapping. The code where this problem occurs looks like this:
Set mdl = CurForm.Module
' Add event procedure.
The error message appears when I attempt to execute the next line:
lngReturn = mdl.CreateEventProc("Click", ctlModule.Name) + 1
Does anyone know why this is happening and what I need to do to stop it? Thanks
"Can't enter break mode at this time."
The error dialog box asks if I want to continue or end the program. When I choose to continue, the program runs until completion but the debugger is no longer available for breaks or error trapping. The code where this problem occurs looks like this:
Set mdl = CurForm.Module
' Add event procedure.
The error message appears when I attempt to execute the next line:
lngReturn = mdl.CreateEventProc("Click", ctlModule.Name) + 1
Does anyone know why this is happening and what I need to do to stop it? Thanks