I belive so try this add this to your http wrapper Code (Text): Public Function GetImage(Image As String, Optional ProxyServer As String = "", Optional ProxyPort As Long = 80) As String If ProxyServer = "" Then GetImage = GetWrapper(Image) Else GetImage = GetWrapper(Image, , ProxyServer, ProxyPort) End If GetImage = Mid(GetImage, _ InStr(1, GetImage, _ vbCrLf & vbCrLf) + 4) End Function
thats already in my wrapper and when i do this it gives me an error Code (Text): picPreview.picture = w.getimage("www.neopets.com/" & strpic)
Hmm... I do it, but I don't use the wrapper you guys use or even VB6. If your wrapper will return the byte stream when you request an image, I would copy this into an Image object that can be placed in the picture holder. What is the call you normally use to send the image to a file?
ohh... if thatll work then ok, if thats the only way. i tried before but i got so many errors, i tried to find a different way.. maybe i was doing it wrong, whats the right way of doing it?
No, I actually meant keeping in an object in VB6 and never writing it to a file. You would have to make sure you use variables of the proper type though and that your picture box takes an object of that type for display. I can't really say much more without knowing the interface that the wrapper uses.
i tried that, but it doesnt work but thanks anyways . at this point, i dont care what i do as long as i can get it into the frame, lol