Get a value
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.
3 posts
Page 1 of 1
Hello guys, once a time no one answered me in my last post ( viewtopic.php?f=21&t=9513 ) , I want to know how to get this value (that is in source code) in a label :
Confuse ? :S
Thanks in Advance
Code: Select all
Some code that makes my Label.Text = 54b3e4c2e8b41d84c1851ea690dcced0<input type="hidden" name="sid" value="54b3e4c2e8b41d84c1851ea690dcced0" />
Confuse ? :S
Thanks in Advance
Try:
Code: Select all
Label1.Text = WebBrowser1.Document.All("sid").GetAttribute("value")
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
CodenStuff wrote:Try:Yap, it works ! Thank you!
Code: Select allLabel1.Text = WebBrowser1.Document.All("sid").GetAttribute("value")
3 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023