We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

XPMenusMDI sample - safe mode?

Thread ID:

Created:

Updated:

Platform:

Replies:

14550 May 28,2004 10:07 AM May 28,2004 02:46 PM Windows Forms 1
loading
Tags: Tools
Lori
Asked On May 28, 2004 10:07 AM

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. Thanks!

Administrator [Syncfusion]
Replied On May 28, 2004 02: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. Regards, Praveen Ramesh Syncfusion Development Team

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;