I have a PHP script that returns an image.

I need to download the image to the hard drive, then load it into a picturebox.

This is what I'm using:

Code:
        URLDownloadToFile 0, "http://www.domain.com/image.php", App.Path & "\THEIMAGE.gif", 0, 0
            Picture1.Picture = LoadPicture(App.Path & "\THEIMAGE.gif")