wombatman, glad to help. The performance issues with dynamically calling flush will not always be noticeable. If the OS is idle it will not have any impact but if its busy and you interupt it to force a flush it can be noticeable.
Nooze2k, that is the best way of handling the situation if you can limit the scope fo the streamwriter but it sounds like he wants to keep it open. Constantly opening and disposing the the streamwriter would be hell on performance.
__________________
A clear conscience is usually the sign of a bad memory.
|