Try making the shutdown function a seperate program so the command looks more like this:
ON SHUTDOWN DO prgShtDown
If main.prg also holds the function it could be the problem.
>Hi Evan,
>
>Hope things are going your way. I tried it and got the same results. Do you have any other suggestions?
>
>Stacy
ICQ 10556 (ya), 254117