By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,852 Members | 2,152 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,852 IT Pros & Developers. It's quick & easy.

How to save internet cached copy of an image in a web page to local folder programatically in C#/VB.net?

P: n/a
I googled a lot, couldn't find a good solution. Any help is greatly
appreciated.

What I want to do is:

Given a web page in a running IE browser , i want to save an image in
this web page to my local folder programatically in C#/VB.net. But i
couldn't save the image from its src attribute of IMG tag, because that
src is generated using ajax, the image is gone from server after it is
sent back to client. So the only way to save the image is to save the
cached copy from local internet cache to my local folder,
but how to do this???

There are two ways, I think:
1) write code to achieve the same goal as in IE right-click on the
image and then click on Save Picture As....
2) given a web page in a running IE window, there is a way to
programatically save the cached image on the web page to local foler.
Any one knows how to do either of above? Thanks a lot!!

Mar 14 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.