I am a newbie to ASP. Can some one tell me what wrong in the code.
I am trying to write data from HTML text area to an binary ADO stream.
Expand|Select|Wrap|Line Numbers
- temp = split(inString,vbcrlf) //inStr in a plaing sting from text area
- For i = 1 To UBound(temp)
- pos = pos + 46
- binBuff = StringToBinary(temp(i))
- outStream.Write(buff)
- Next
- Function StringToBinary(ANSI)
- Dim I
- Dim s
- For I = 1 To Len(ANSI)
- S = S & ChrB(Asc(Mid(ANSI, I, 1)))
- Next
- StringToBinary = S
- End Function
ADODB.Stream error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
For line thatz writing to binary stream
Regards,
Gaurav