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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

XPMenusMDI sample - safe mode?

Thread ID:





14550 May 28,2004 02:07 PM UTC May 28,2004 06:46 PM UTC WinForms 1
Tags: Tools
Asked On May 28, 2004 02:07 PM UTC

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 06:46 PM UTC

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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon