>your ON SHUTDOWN procedure? Any attempt to step through it results in:
>
>CANCEL or SUSPEND is not allowed (Error 1651)
>
>The dBASE IV report or label file you are running calls a SUSPEND. This is not a valid operation in Visual FoxPro.
>
>which is not at all helpful. The reason I'm in there is we have a couple of laptops that are BSODing intermittently when the user selects Exit from the app menu. This code hasn't changed in years and I haven't a clue how to proceed.
I don't see why you can not debug ON SHUTDOWN procedure code.
Put for now some messageboxes or wait windows there or writing to log file messages. You may also try DEBUGOUT commands.
If it's not broken, fix it until it is.
My Blog