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.
Syncfusion Feedback

AppStateSerializer extension

Thread ID:

Created:

Updated:

Platform:

Replies:

10561 Feb 5,2004 04:26 PM UTC Feb 6,2004 01:58 PM UTC Windows Forms 3
loading
Tags: Tools
Doug
Asked On February 5, 2004 04:26 PM UTC

Is there a way to change the default extension from .bin to something else? Thanks. Doug

Administrator [Syncfusion]
Replied On February 5, 2004 05:12 PM UTC

Hi Doug, The AppStateSerializer supports the following serialization modes : (i) IsolatedStorage (ii) BinaryFile (iii)XMLFile (iv) WindowsRegistry (v) XMLFmtStream (vi) BinaryFmtStream You could specify any of the above modes using the SerializeMode enumeration value as follows : AppStateSerializer serializer = new AppStateSerializer(SerializeMode.XMLFile, fileName); Please refer to the Class Reference for more information. Thanks for your continued interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Doug
Replied On February 6, 2004 12:02 PM UTC

Thank you for your reply. I suppose my question wasn't clear enough. I am calling: AppStateSerializer serializer = new AppStateSerializer(SerializeMode.BinaryFile,fileName); I want to save the the binary file, but when it saves, it always puts ".bin" at the end of the fileName. Is there any way to change this? I want the extension to be something different than ".bin". Thanks. Doug

Administrator [Syncfusion]
Replied On February 6, 2004 01:58 PM UTC

Hi Doug, Thanks for the clarification. It is possible to do so if you have the source code by modifying the AppStateSerializer class file. Please create an incident in Direct Trac in this regard, and I will update you there with more information. Thanks for your cooperation. Regards, Guru Patwal Syncfusion, Inc.

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.

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

;