Jump to content

Recommended Posts

Posted

No webbrowser do vb.net, há algum código para saber o título da página?

Por exemplo, eu quero saber se entrei no index deste fórum e para isso quero ver o título para comparar.

<title>Portugal-a-Programar - Índice</title>

Com isto, existe algum comando htmle que vai buscar o title e saber o que esté dentro dele?

Obrigado desde já.

Posted

Ou vais buscar à propriedade WebBrowser.DocumentTitle que te dá logo isso sem muito suor.

Sérgio Ribeiro


"Great coders aren't born. They're compiled and released"
"Expert coders do not need a keyboard. They just throw magnets at the RAM chips"

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.