Results 1 to 2 of 2

Thread: Edit a text file

  1. #1
    All AUGI, all the time
    Join Date
    2007-09
    Location
    Raleigh NC
    Posts
    755
    Login to Give a bone
    0

    Default Edit a text file

    I have beginner programing experience. I'm looking for examples or a starting point for a program that opens and addends text into a txt file. Any help or links would be greatly appreciated. Thank you.

  2. #2
    AUGI Addict fixo's Avatar
    Join Date
    2005-05
    Location
    Pietari, Venäjä
    Posts
    1,269
    Login to Give a bone
    0

    Default Re: Edit a text file

    Quote Originally Posted by bryan.thatcher View Post
    I have beginner programing experience. I'm looking for examples or a starting point for a program that opens and addends text into a txt file. Any help or links would be greatly appreciated. Thank you.
    Give that a shot
    Code:
    using System.IO;
    //_______________________
    static public void AppendText()
    {
    StreamWriter sw = new StreamWriter(@"C:\MyTextFile.txt", true);
    sw.WriteLine("Here is an appended string");
    sw.Close();
    }
    ~'J'~

Similar Threads

  1. Right click edit linked DWG file by opening Autocad in that file.
    By Wish List System in forum Revit Architecture - Wish List
    Replies: 2
    Last Post: 2018-08-05, 10:44 PM
  2. edit text
    By cookie in forum Revit MEP - General
    Replies: 2
    Last Post: 2009-04-07, 02:50 PM
  3. Edit Dim Text
    By MARPOW in forum ACA General
    Replies: 21
    Last Post: 2007-10-15, 05:15 PM
  4. Edit Text Box
    By me.76945 in forum Revit Architecture - General
    Replies: 3
    Last Post: 2005-05-20, 10:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •