Webbrowser.getattrubute Please help
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
2 posts
Page 1 of 1
Hi I am trying to add function to save images from my webbrowser context menu
I attempted to follow a tut I found on google using the html.getattribute ("src") metthord
but this only works for static images and I would like it to work for ALL image like internet explorers does it just close so I could save google image photos and facebook pics and things like that
Could anyone help me please
Thank you
I attempted to follow a tut I found on google using the html.getattribute ("src") metthord
but this only works for static images and I would like it to work for ALL image like internet explorers does it just close so I could save google image photos and facebook pics and things like that
Could anyone help me please
Thank you
In the webbrowser Document Completed event, try:
Code: Select all
For Each PagePic As HtmlElement In WebBrowser1.Document.Images
'Do something with the image here
' PagePic.GetAttribute("src")
Next
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
2 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023