Mike,
on shutdown iif(messagebox('Wanna Quit?', 4) = 6, ;
_vfp.DoCmd("_vfp.DoCmd('_vfp.Quit')"), '')
>Lol! That had not occured to us, Dude. It kindof reminds me of code I used to write like this to slow down the app (Student versions you know ;-):
You can't take that one to another level, though -- it gives a "Missing )" error, I guess probably because the on shutdown must have a limit of 80 characters or so???
wait window chr(asc('t')) + chr(asc('e')) + chr(asc('s')) + chr(asc('t'))
Hey, if you're paid by the line...