CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: refresh buffer

  1. #1
    Join Date
    Jan 2001
    Posts
    11

    refresh buffer

    Hi everybody,

    what is the command for refreshing buffer into all open files WITHOUT closing these files.
    I know that Reset command do that but closes files.
    I want to copy buffer in active files but without closing these files.

    Thanks in advance
    Best


  2. #2
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: refresh buffer

    what kind of files and what access methods are you using with these files? Where are they located (local/remote)?

    John G

  3. #3
    Join Date
    Jan 2001
    Posts
    11

    Re: refresh buffer

    Hi,

    I use text file and they are on local disk.
    My data are some numeric or string values print in text files. As i run several replications for simulation runs (hundreds loops), i want to refresh buffer into files for each of these replications and to not wait for the end of all replication to transfer buffer in files.

    Thanks

    Thanks


  4. #4
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: refresh buffer

    If you are wanting to refresh the text fiels on disk, there is no magical way to do that. You will just have to rewrite the files yourself at the interval you desire.

    John G

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

Featured