Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7726005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T05:06:07+00:00 2026-06-01T05:06:07+00:00

IsolatedStorageFile iF = IsolatedStorageFile.GetUserStoreForApplication(); if (!iF.DirectoryExists(aaa)) { MessageBox.Show(No directory, create!); iF.CreateDirectory(aaa); } StreamWriter fW

  • 0
IsolatedStorageFile iF = IsolatedStorageFile.GetUserStoreForApplication();
                    if (!iF.DirectoryExists("aaa"))
                    {
                        MessageBox.Show("No directory, create!");
                        iF.CreateDirectory("aaa");
                    }
                    StreamWriter fW = new StreamWriter(new IsolatedStorageFileStream("girls\\list.txt", FileMode.OpenOrCreate, iF));
                    fW.WriteLine(this.tb_name.Text);

So, I create file, or open it, and add to it content of textbox. I need append this file, but it rewrites. Please, help me to solve this problem 🙂 Thank you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T05:06:08+00:00Added an answer on June 1, 2026 at 5:06 am

    You want FileMode.Append, not FileMode.OpenOrCreate

    See this page for details http://msdn.microsoft.com/en-us/library/system.io.filemode(v=vs.95).aspx

    Append: Opens the file if it exists and seeks to the end of the file, or
    creates a new file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How to view all the content in my IsolatedStorageFile by setting a new page
Edit : I manage to view the list by doing the following private void
I create a file in isolated storage and then the same file is accessed
I have a list of items(names of image) in a isolated storage. If i'm
I am using this code to read values from an isolated storage IsolatedStorageFile isoStore
Silverlight uses an IsolatedStorageFileStream to open files. The IsolatedStorageFileStreamunder NET.4 claims to support the
I want to create a file, save data and then append some information to
The question is clear: I am trying to Convert an System.IO.IsolatedStorage.IsolatedStorageFileStream to an ImageSource
I have a new Silverlight Application with just a button on it that works
I am developing window phone 7 application. I am new to the window phone

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.