ive searching for an hour but i can find it.or maybe i found it but i didnt know..
this code is from vb.net
on webbrowser document complete.
Dim sImage As String
sImage = WebBrowser1.Document.All("avatar").GetAttribute("src")
PictureBox1.ImageLocation = sImage
"avatar" this is the name tag of html (name="avatar")
"scr" this is the link of the image ex: scr="imagelink.jpg"
i just want to know,what is the code for vb6?
how to get attribute?
thanks...



Reply With Quote
