Could you provide a brief explanation of the purpose of the code in this sample that is related to running the app in "safe mode"? The code is found in the Main method and in a couple of other methods in the "Versioning" region.
ADAdministrator Syncfusion Team May 28, 2004 01:46 PM
The XPMenusMDI sample app keeps track of whether an instance of the appliation shutsdown properly (by turning on/off flags in the registry).
And when you run the app, if it finds that the previous instance did not shutdown properly, then it will choose NOT to load any application persisted state (like menu customization, toolbar positions, etc), assuming that loading the persisted state might have caused the app to crash (of course that might not be the case).
It''s more of a sample on how to implement "safe mode" in apps in general rather than having to do with menus in particular.
Syncfusion Development Team