How to save Specific Image From web browser caches vb.net?
Code:
Dim doc As IHTMLDocument2 = _
DirectCast(webBrowser1.Document.DomDocument, IHTMLDocument2)
Dim imgRange As IHTMLControlRange = _
DirectCast(DirectCast(doc.body, _
HTMLBody).createControlRange(), IHTMLControlRange)
For Each img As IHTMLImgElement In doc.images
imgRange.add(DirectCast(img, IHTMLControlElement))
imgRange.execCommand("Copy", False, Nothing)
Using bmp As Bitmap = DirectCast( _
Clipboard.GetDataObject().GetData(DataFormats.Bitmap), Bitmap)
bmp.Save("C:\" + img.nameProp)
End Using
Next
I already used this but did not get specific Images. Is there any other way please ?
Re: How to save Specific Image From web browser caches vb.net?
Can you show me the direct link to this image please.