takamine334
01-13-2007, 01:20 AM
I have code to download an image from a website. It saves it in app.path. When it tries to load it into a picture view, it gives me an error 70 or doesn't load the correct image in the form. If I check the directory, the correct image is in fact there. So, I know downloading the image works. It's almost as though it's loading a cached image.
private sub form_load()
Image1.Picture = LoadPicture(App.Path & "\" & "image.gif")
end sub
EDIT: Figured it out. I was hiding the form, rather than unloading it.
private sub form_load()
Image1.Picture = LoadPicture(App.Path & "\" & "image.gif")
end sub
EDIT: Figured it out. I was hiding the form, rather than unloading it.