|
-
Sep 15th, 2002, 01:07 PM
#1
Thread Starter
New Member
Update BackGroundImage - problem
Could anyone tell me why this works the first time but not the second time it's called:
Dim wc As New System.Net.WebClient()
wc.DownloadFile("http://217.37.196.12/halfsize.jpg", _
"c:\pic.jpg")
Dim bgImage As Image = Image.FromFile("C:\pic.jpg")
Panel1.BackgroundImage = bgImage
I think it's because I'm trying to download the file again to the same filename which is in use.
Could anyone suggest a workaround?
Many thanks,
Dan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|