• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 298
  • Last Modified:

InstrB for adodb stream

After get a stream
myStream.Write Request.BinaryRead(Request.TotalBytes)
can I find the position of a byte in the stream something like
response.write InstrB(myStream, vbcrlf)

I know we can write the stream to a variable(string?) and then find the position of the byte in the variable. But can we find the position directly from the stream?
1 Solution
Use the .Read property of the Stream object

response.write InstrB(myStream.Read, vbcrlf)

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now