how about if there's no "name" attribute to the textboxes instead it has "class" attribute?
gnaeilsen 8 months ago
Yeah, pretty nice tutorial!
Can you please tell me the code, how to get text from page to Text1 box? Innertext.
Thanks a lot!
ArchangelMelior 2 years ago
What do you mean? Do you want to get the text from the page and put it into a text box? I don't understand.
thenewkid49 2 years ago
@thenewkid49
That's right!
I'm was try this code:
Text1.Text = Webbrowser1.DocumentText
but this don't work for me!
If you have any ideas, i will be greatfull.
PS: Sorry for my very bad English
Well, apparently you need to get an Object ID to get the text from.
TextBox1.Text = WebBrowser1.Document.All("Object ID").InnerText
So I tried looking around elsewhere.
WebBrowser1.DocumentText looked pretty trusting but then it turned weird. :P
So keep looking around.
Thanks again!
This is awesome!
is there a code so you could make the "Sign in" button on the login page get pressed when you click button1 on your form?
GingerDann 2 years ago
WebBrowser1.Document.GetElementById(" Button you want to click").InvokeMember("Click")
THANKYOU SO MUCH
I love you :)
Oh man I've been waiting a while for another vid.
farhmoha 2 years ago
KICK ASS!!! I subed... thanks!!!
Palkia323 2 years ago
how about if there's no "name" attribute to the textboxes instead it has "class" attribute?
gnaeilsen 8 months ago
Yeah, pretty nice tutorial!
Can you please tell me the code, how to get text from page to Text1 box? Innertext.
Thanks a lot!
ArchangelMelior 2 years ago
What do you mean? Do you want to get the text from the page and put it into a text box? I don't understand.
thenewkid49 2 years ago
@thenewkid49
That's right!
I'm was try this code:
Text1.Text = Webbrowser1.DocumentText
but this don't work for me!
If you have any ideas, i will be greatfull.
PS: Sorry for my very bad English
ArchangelMelior 2 years ago
Well, apparently you need to get an Object ID to get the text from.
TextBox1.Text = WebBrowser1.Document.All("Object ID").InnerText
So I tried looking around elsewhere.
WebBrowser1.DocumentText looked pretty trusting but then it turned weird. :P
So keep looking around.
thenewkid49 2 years ago
@thenewkid49
Thanks again!
ArchangelMelior 2 years ago
This is awesome!
is there a code so you could make the "Sign in" button on the login page get pressed when you click button1 on your form?
GingerDann 2 years ago
WebBrowser1.Document.GetElementById(" Button you want to click").InvokeMember("Click")
thenewkid49 2 years ago
THANKYOU SO MUCH
I love you :)
GingerDann 2 years ago
Oh man I've been waiting a while for another vid.
farhmoha 2 years ago
KICK ASS!!! I subed... thanks!!!
Palkia323 2 years ago