>I used to do this a few years ago but cannot now remember how it is done. After I've canceled a program in Debug mode, I'd like to have a cleanup menu item on the FoxPro main menu, or maybe add an ADMIN menu item then have a cleanup program below ADMIN. How do you do this? Do you have to place something in the config.fpw file and call it? I am also using GENMENUX when I compile my projects. I think Drew Speedie showed us how to do this in a user group meeting in Orange County California (OCFOX) once. I've already looked on UT and don't see anything similar (maybe it's so basic that no one talks about it?)
In the config.fpw you can specify a stratup program that will run every time VFP starts. In that program you can run any code.
config.fpw
...
_Startup=Q:\Dev\Vfp\Tools\VFPStart9
...
--sb--