I have a legacy .NET 2.0 windows forms application that I am working with. It works fine in XP but in Windows 7, if an aero theme is enabled the app starts up, but crashes when you click 'File' in the menu bar. The application runs fine when using a windows basic theme. It also runs fine if I select the 'Disable Desktop Composition' item in the properties of the shortcut.
I have run the code in visual studio with all exceptions turned on and found nothing. The regular windows event logs are no help either.