
01-13-2007, 01:20 AM
|
 |
Contributor
|
|
Join Date: Jul 2005
Location: Seattle, WA
Posts: 616
|
|
What's wrong with my code?
|
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.
Code:
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.
|
Last edited by takamine334; 01-13-2007 at 01:30 AM.
|