Michel remember in .net things only go out of scope when garbage collector kicks in. ;)
>>Michel your missing loFileStream.Close once u finish dealing with it.
>
>Thanks, I thought it was going out of scope once the method finished.
Alexandre Palma
Senior Application Architect