Click here to Skip to main content
15,890,897 members
Home / Discussions / C#
   

C#

 
GeneralRe: XML Reorder Pin
led mike18-Jul-08 8:50
led mike18-Jul-08 8:50 
GeneralRe: XML Reorder Pin
H@is@here18-Jul-08 12:05
H@is@here18-Jul-08 12:05 
JokeRe: XML Reorder Pin
Mbah Dhaim18-Jul-08 12:17
Mbah Dhaim18-Jul-08 12:17 
GeneralRe: XML Reorder Pin
Scott Dorman18-Jul-08 12:25
professionalScott Dorman18-Jul-08 12:25 
GeneralRe: XML Reorder Pin
H@is@here18-Jul-08 12:34
H@is@here18-Jul-08 12:34 
QuestionFow to find row number from which new row was added to DataGridView Pin
AndrusM18-Jul-08 5:22
AndrusM18-Jul-08 5:22 
AnswerRe: Fow to find row number from which new row was added to DataGridView Pin
Parwej Ahamad18-Jul-08 6:26
professionalParwej Ahamad18-Jul-08 6:26 
Questionhelp me: 'XPExplorerBar' Pin
dangquoctrang18-Jul-08 4:43
dangquoctrang18-Jul-08 4:43 
AnswerRe: help me: 'XPExplorerBar' Pin
Luc Pattyn18-Jul-08 4:51
sitebuilderLuc Pattyn18-Jul-08 4:51 
Questionhelp me: 'XPExplorerBar' Pin
dangquoctrang18-Jul-08 4:43
dangquoctrang18-Jul-08 4:43 
Questionhelp me: 'XPExplorerBar' Pin
dangquoctrang18-Jul-08 4:43
dangquoctrang18-Jul-08 4:43 
AnswerRe: help me: 'XPExplorerBar' Pin
Luc Pattyn18-Jul-08 4:50
sitebuilderLuc Pattyn18-Jul-08 4:50 
GeneralRe: help me: 'XPExplorerBar' Pin
Judah Gabriel Himango18-Jul-08 6:14
sponsorJudah Gabriel Himango18-Jul-08 6:14 
GeneralRe: help me: 'XPExplorerBar' Pin
Luc Pattyn18-Jul-08 6:23
sitebuilderLuc Pattyn18-Jul-08 6:23 
GeneralRe: help me: 'XPExplorerBar' [modified] Pin
Judah Gabriel Himango18-Jul-08 7:43
sponsorJudah Gabriel Himango18-Jul-08 7:43 
AnswerRe: help me: 'XPExplorerBar' Pin
Judah Gabriel Himango18-Jul-08 6:08
sponsorJudah Gabriel Himango18-Jul-08 6:08 
QuestionWeb Interface for a Windows Application??? Pin
Preetham.N18-Jul-08 3:59
Preetham.N18-Jul-08 3:59 
AnswerRe: Web Interface for a Windows Application??? Pin
Paul Conrad18-Jul-08 4:25
professionalPaul Conrad18-Jul-08 4:25 
AnswerRe: Web Interface for a Windows Application??? Pin
Paddy Boyd18-Jul-08 5:28
Paddy Boyd18-Jul-08 5:28 
QuestionClearing IsolatedStorage Pin
AndrusM18-Jul-08 3:47
AndrusM18-Jul-08 3:47 
WinForms .NET 3.5 application creates files using UserSettings.Store
object.

UserSettings.RemoveAll() does not remove those files.

Directory
C:\Users\user\AppData\Local\IsolatedStorage\kpfhj5go.0xp\drvowkmz.al1\Url.uxurxejkalg3optycd32sijndoeqvbiy\Url.4d3tujmqjjalo23wq4rjcu1tkcry2s2d\Files

still contains created files.

How to remove all files in code from isolated storage ?

Andrus.


    public static class UserSettings
    {
        static IsolatedStorageFile Store
        {
            get
            {
                return IsolatedStorageFile.GetUserStoreForDomain(); 
//GetUserStoreForAssembly();
            }
        }

        public static void RemoveAll()
        { // todo: explore why this does not delete isolated storage files:
            Store.Remove();
            IsolatedStorageFile.Remove(IsolatedStorageScope.Domain);
            IsolatedStorageFile.Remove(IsolatedStorageScope.Machine);
            IsolatedStorageFile.Remove(IsolatedStorageScope.Assembly);
            IsolatedStorageFile.Remove(IsolatedStorageScope.Application);
        }
} 


Andrus

QuestionHow to determine the real font size? Pin
Frank Horn18-Jul-08 3:35
Frank Horn18-Jul-08 3:35 
QuestionQuestion regarding memory garbage collection in C# from COM C++ Pin
Green Fuze18-Jul-08 2:13
Green Fuze18-Jul-08 2:13 
AnswerRe: Question regarding memory garbage collection in C# from COM C++ Pin
Guffa18-Jul-08 2:50
Guffa18-Jul-08 2:50 
GeneralRe: Question regarding memory garbage collection in C# from COM C++ Pin
Green Fuze19-Jul-08 1:32
Green Fuze19-Jul-08 1:32 
AnswerRe: Question regarding memory garbage collection in C# from COM C++ Pin
CPallini18-Jul-08 3:00
mveCPallini18-Jul-08 3:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.