Click here to Skip to main content
15,884,237 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: Question regarding memory garbage collection in C# from COM C++ Pin
Green Fuze19-Jul-08 1:29
Green Fuze19-Jul-08 1:29 
GeneralYou're welcome Pin
CPallini19-Jul-08 9:08
mveCPallini19-Jul-08 9:08 
AnswerRe: Question regarding memory garbage collection in C# from COM C++ Pin
Mike Dimmick18-Jul-08 6:31
Mike Dimmick18-Jul-08 6:31 
GeneralRe: Question regarding memory garbage collection in C# from COM C++ Pin
Green Fuze19-Jul-08 1:27
Green Fuze19-Jul-08 1:27 
QuestionVStudio refuses to start a solution Pin
Tomerland18-Jul-08 1:45
Tomerland18-Jul-08 1:45 
AnswerRe: VStudio refuses to start a solution Pin
Fredrik Bornander18-Jul-08 2:53
professionalFredrik Bornander18-Jul-08 2:53 
AnswerRe: VStudio refuses to start a solution Pin
Guffa18-Jul-08 2:56
Guffa18-Jul-08 2:56 
GeneralRe: VStudio refuses to start a solution Pin
Tomerland18-Jul-08 3:56
Tomerland18-Jul-08 3:56 
Questionprogress window Pin
Mogaambo18-Jul-08 1:23
Mogaambo18-Jul-08 1:23 
AnswerRe: progress window Pin
N a v a n e e t h18-Jul-08 1:32
N a v a n e e t h18-Jul-08 1:32 
GeneralRe: progress window Pin
Mogaambo18-Jul-08 1:38
Mogaambo18-Jul-08 1:38 
GeneralRe: progress window Pin
enginço18-Jul-08 1:43
enginço18-Jul-08 1:43 

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.