Binary Write add extra character :(
Hi
I save a file(any kind) in a db in a OLE Field!
If i read it and append it to a file with the extention it work!
A jpeg for example!
but, for my project, i need for info in that file, so i add tag before and after the binary content of that file, so that i can upload it to a server!
but my problem is that my last write of my tag add unwanted charracter!!
here my code
VB Code:
Put #freeF, , xmlContent
While lngCurr < lngFileSize
binChunk() = rs.Fields("attachementSource").GetChunk(intChunk)
Put #freeF, , binChunk()
lngCurr = lngCurr + intChunk
Wend
Put #freeF, , tmpXml 'this line add the extra char
those one -> </_img.data_>
can some help me, tx!