While this is dealing with the symptoms, not the problem, you missed.
RELEASE ALL
An API call to reboot is available too, let me search...
(gdr)
Lutz
>
>Put
>
>thisform.Release()
>CLEAR EVENTS
>
>in the Exit button of your form
>
>In the main program
>
>after Read Events
>
>add
>
>ON SHUTDOWN
>
>CLEAR ALL
>
>QUIT
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]