473,395 Members | 1,692 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

clear isolated storage

WinForms MDI application stores user preferences (form position, sizes,
query params etc) in isolated storage.

I want to offer user menu selection "Restore defaults" which deletes all
those items so default settings are applied.

Best way for this is probably to delete all files in isolated storage.

How to clear all files in current isolated storage ?

Andrus.

Jun 27 '08 #1
2 2750
If you are using the built-in Settings class then you could use:

Properties.Settings.Default.Reset();
"Andrus" <ko********@hot.eewrote in message
news:uv**************@TK2MSFTNGP04.phx.gbl...
WinForms MDI application stores user preferences (form position, sizes,
query params etc) in isolated storage.

I want to offer user menu selection "Restore defaults" which deletes all
those items so default settings are applied.

Best way for this is probably to delete all files in isolated storage.

How to clear all files in current isolated storage ?

Andrus.
Jun 27 '08 #2
If you are using the built-in Settings class then you could use:
>
Properties.Settings.Default.Reset();
I tried but isolated storage files are *not* deleted. It maybe restores only
user.config file, not isolated storage.

I have 2-3 files per every form which are created/setored using
datacontractserializer.

I want to delete all those files.

Andrus.

Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jody Gelowitz | last post by:
Exactly what is the size limit of Isolated Storage in the Internet permission set? I have a document indicating it is 10MB (http://msdn.microsoft.com/msdnmag/issues/02/07/NetSmartClients/) ...
3
by: gani | last post by:
hi, how to get the fullpath of created IsolatedStorage directory. thanks. -- gani
1
by: malcolm | last post by:
Hello, We use several user controls and derived custom controls. Some of which actually hit the database at design time to show data (such as filling a list box, etc...) Our c# client server...
0
by: Namratha Shah \(Nasha\) | last post by:
Hey Group, After a long week end I am back again. Its nice and refreshing after a short vacation so lets get started with .NET once again. Today we will discuss about Isolated Storage. This is...
7
by: Jon Berry | last post by:
I'm executing an external process from my C# app. It uses a typical command line type interface: program.exe inputfile outputfile I want the outputfile stored in IsolatedStorage. Is there...
3
by: U.C. | last post by:
Hello, My client needs to collect data on a disconnected computer. I am hoping I could store data in Isolated Storage as XML files and expose later to a server (does anyone have experience with...
1
by: C#Coder | last post by:
I need to create an Isolated Storage File for my assembly with machine level scope. I have used the 'GetMachineStoreForAssembly' method to do this and this creates the Isolated Storage File...
0
by: CodeMonkey | last post by:
I am using Isolated Storage to save some machine wide application settings. I noticed that if I saved the settings in a non-dotfuscated exe, those settings were not found in a dotfuscated exe. I...
0
by: Andrus | last post by:
WinForms .NET 3.5 application creates files using UserSettings.Store object. UserSettings.RemoveAll() does not remove those files. Directory...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.