Fernando Reis
asked on
WinHttpRequest in VB6
I am using WinHttpRequest in VB6 the server returns me a Jpg file. I can not load the file into a Picture Box. Can you help me please?
ASKER
Hi!! Yes, I can save the image. But how do I do that?
This is the code I have to get the image !!
Dim httpImagem As WinHttpRequest
Dim strResponse As Variant
Set httpImagem = New WinHttpRequest
httpImagem.Open "GET", "http://10.128.255.1:7070/camera.cgi?camera=314500&resolucao=320x240&qualidade=70"
httpImagem.SetRequestHeade r "Cookie", "SessaoId=" & cookie
httpImagem.Send
strResponse = httpImagem.ResponseText
Very thanks!!
This is the code I have to get the image !!
Dim httpImagem As WinHttpRequest
Dim strResponse As Variant
Set httpImagem = New WinHttpRequest
httpImagem.Open "GET", "http://10.128.255.1:7070/camera.cgi?camera=314500&resolucao=320x240&qualidade=70"
httpImagem.SetRequestHeade
httpImagem.Send
strResponse = httpImagem.ResponseText
Very thanks!!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
any further assistance is needed here?
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I have recommended this question be closed as follows:
Accept: Ryan Chong (https:#a42249361)
If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.
MacroShadow
Experts-Exchange Cleanup Volunteer
I have recommended this question be closed as follows:
Accept: Ryan Chong (https:#a42249361)
If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.
MacroShadow
Experts-Exchange Cleanup Volunteer
are you able to save that file locally?
if yes, try load the picturebox from that local physical file.