i have to code an "interface interpreter" via asp.
The Code searchs in a DB for an Identcode, puts this Code in a XML-Structure, sends (XMLHTTP) this structure to an other server and receive the return xml-structure.
The Return contains a gif-image in a Binary-String, that musst be converted an returned to the Client. The String looks like 474946383961010001F00000FFFFFF0000002C[...]
I thought it musst be easy, but theres a little Problem in my code, that i cant find...
Expand|Select|Wrap|Line Numbers
- dim i
- For i = 1 To len(myByteString) -1 step 2
- Response.Write chr ( "&H" & mid( myByteString, i, 2 ) )
- Next
But the 00 doesnt get convertet correctly. Why?
IIRC the &H00 is a nul-Value. But how to get the ASP to put-out a nul?
Can anyone help me? Please ;)
Greetingz
Thomas