PDA

Click to See Complete Forum and Search --> : Weird:StreamReader*RESOLVED*


Cander
Jan 14th, 2003, 03:03 PM
Ok maybe I am missing soemthing

but:

I open a file to a stream class

Dim blah As Stream = File.open(blah,blah)

then create a streamreader using the above stream
Dim blahstream As New StreamReader(blah)

now when i .Close() the STREAMREADER, the STREAM is closed as well?!?!? Certainly it shouldn't do that should it?

Cander
Jan 14th, 2003, 03:18 PM
Never mind! Stupid question really. Long day. Tired eyes. Empty stomach!

I was making some stupid assumptions like .Close would close the class. Im stupid!

time to go home.
:p