How do you save a picture from a web site?
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
I tried using copyfile:
My.Computer.FileSystem.CopyFile(TempPath & filename, StartPath & "\Saved imgs")
but I dont think your allowed to copy from the Temporary Internet Files folder. Is there any way to save an image from a web page? Ive thought of three other options but havent been able to get any to work. 1. right click on the image from a WebBrowser to activate the menu? (but images are not htmlElements so you cant usehtmlelement.InvokeMember("Click")
) 2.Opening the image from a different container/application and saving it to a different directory. (pictureboxes arent allow to access the temporary internet files folder either) 3.Im able to get the URL to the image, can I use this to save the image? Any ideas?