Results 1 to 3 of 3

Thread: pls help me.

  1. #1

    Thread Starter
    Fanatic Member popskie's Avatar
    Join Date
    Jul 2005
    Location
    In my chair
    Posts
    666

    pls help me.

    hi to all,

    Can anyone point me on the right direction on how make a simple software. On how to retreive data from the logbox and write to textfile.

    Popskie

  2. #2
    Hyperactive Member umilmi81's Avatar
    Join Date
    Sep 2005
    Location
    Sterling Heights, Mi.
    Posts
    335

    Re: pls help me.

    I'm not sure what a logbox is, but here is some code for writing to a text file
    Code:
    //top of file
    using System.IO;
    ...
    
    //in function
    StreamWriter sw = new StreamWriter(new FileStream(YourFileName,FileMode.Append));
    sw.WriteLine("Some Text");
    sw.Close();

  3. #3

    Thread Starter
    Fanatic Member popskie's Avatar
    Join Date
    Jul 2005
    Location
    In my chair
    Posts
    666

    Re: pls help me.

    thanks for ur reply, but my primary problem is how to retrieve data from that machine. The logbox is attached in my com1 of my PC.

Posting Permissions

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



Click Here to Expand Forum to Full Width