Tim,
>Yes, it is a windows form application running on Windows XP Pro. It is touch screen and because of the size of the monitor, the screen real estate is at a premium.
You can place code to detach the database in Main.prg after the call to Application.Run(). This is the point where the application is closing, but the MM .NET Application object and all manager objects are still around.
Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com