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 8318989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T22:10:02+00:00 2026-06-08T22:10:02+00:00

I got this project going on for myself to keep some thing in order.

  • 0

I got this project going on for myself to keep some thing in order.

What I have is this:

+---Date---+----Time----+----Error-----------+
|24-24-2012|    4:42    | Warning - test/test|
+----------+------------+--------------------+

Now I got all that working, at least the reading & writing. but its not going as I was hoping it would.

I wanted these text to be like:

Date (items.add)
time (subitem)
error (subitem)

I want it to be written like:

date | time | error

and then once the program read it, he knows:

| = Start of subitem ( || end of subitem )

so what it would look like in the text file to be written to is:

date | time ||| error || ( which means : time start+end / error start+end (add to subitem)

I want the program visual studio to know that he knows that ( | 1x = subitems.add(" - And | 2x = ");

ugh quite hard to explain. I’ll try less complicated.

| = subitems.add("<br>
|| = ");

so writing a file would look like :

writer.writeline( | + "hello" + || + | + "test" + || );

which will result in the text file as :

| hello ||| test ||

Once program boots up, it will read it again this way:

Listview.additems.add( hello ) *with no | or ||*

and the test will be :

listview.subitem( test ) *with no | or ||*

And so on…


Screenshots to explain it a little bit better for someone with autism like me.

Click here for screenshot

  • 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-08T22:10:06+00:00Added an answer on June 8, 2026 at 10:10 pm

    So adding the response as another answer.
    You’re code will look something like this:

    using(StreamReader reader = new StreamReader(logFileName))
    {
      StringBuilder currentItem = new StringBuilder();
      char currentChar;
      while (true)
      {
        if (reader.Peek() == 'specialChar')
        {
          if (currentChar == '|')
          {
            // This indicates that the currentItem is subItem
            AddNewSubitem(currentItem.ToString());
          }
          else
          {
            AddNewItem(currentItem.ToString());
          }
          currentItem.Clear();
          reader.Read();
        }
        else if (reader.Peek() != null)
        {
          curentItem.Append(reader.Read());
        }
        else
        {
          break;
        }
      }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I got a project of designing a Database. This is going to be my
I got an error when archiving a project. This is my environment. Mac OS
I have got this super weird bug in my current project. To understand what
I've got the output of some simulations that look something like this: Run,ID,Time,Var1,Outcome 1,1,6,0.5,1
I've got this ASP.NET 2.0 website project in Visual Studio that I've been working
i got java.lang.NullPointerException by using CrudRepository my project looks like this: strut2 action service
Got this error message while trying to load view: The model item passed into
Got this error on a big $_GET query in size ~9 000 symbols (they
So basically, I've got a rather large Django project going. It's a private web
I've got a project going on, far away from complete, a stand alone audio

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.