1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

is there a way to force write?

Discussion in 'C#' started by rnbguy, Jun 26, 2007.

  1. rnbguy

    rnbguy New Member

    Joined:
    Jun 25, 2007
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    with my c# application it seems that when i use MyStreamWriter.Write within a very repetitve loop, it doesnt seem to write to the file untill the whole batch (loop) is done, is there a way to force it to write eachtime MyStreamWriter.Write is encountered (something like doevents() for ui)
     
  2. rnbguy

    rnbguy New Member

    Joined:
    Jun 25, 2007
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    i just used append but strangly it seems to append one line and no longer append any more :S
     

Share This Page