K
Khanh
hi all,
How to solve the problem like below in VB.NET :
Dim temp1() as byte
Dim temp2() as byte
Dim result() as byte
'---- init a binary reader with a webresponse
BinaryReader.Read(temp1,0,1000)
BinaryReader.Read(temp2,1000,1000)
redim preserve result(2000)
result = result + temp1 + temp2 '<--- how to implement this line
The reason why we have to fulfill this snippet of code is we want to
retrieve an image throught http web request from a web server. So we
have to read a part of image then concatenate them together.
Thanks in advance
Khanh
How to solve the problem like below in VB.NET :
Dim temp1() as byte
Dim temp2() as byte
Dim result() as byte
'---- init a binary reader with a webresponse
BinaryReader.Read(temp1,0,1000)
BinaryReader.Read(temp2,1000,1000)
redim preserve result(2000)
result = result + temp1 + temp2 '<--- how to implement this line
The reason why we have to fulfill this snippet of code is we want to
retrieve an image throught http web request from a web server. So we
have to read a part of image then concatenate them together.
Thanks in advance
Khanh