[help] with getelementsbyname[Solved]

Posts 1–10 of 10 · Page 1 of 1
[help] with getelementsbyname[Solved]
There is
Code:
WebBrowser1.Document.GetElementById("password").SetAttribute("value", "")
But the "element" i need to use only has a name so i tried
Code:
WebBrowser1.Document.All.GetElementsByName("password").SetAttribute("value", "")
but it says 'SetAttribute' is not a member of System.Windows.Forms.HtmlElementCollection.

does anyone know how to fill in a textbox that only has a name?(when i say textbox i mean the one on the website.)
You should always offer the website as means to allow us to make the simplest code, however DOMS is straight forward so .

it should be

Code:
For Each element As HtmlElement In WebBrowser1.Document.All.GetElementsByName("password")

            element****nerText = "whateever password or value"

Next
Quote Originally Posted by NextGen1 View Post
You should always offer the website as means to allow us to make the simplest code, however DOMS is straight forward so .

it should be

Code:
For Each element As HtmlElement In WebBrowser1.Document.All.GetElementsByName("password")

            element****nerText = "whateever password or value"

Next
100% working tyvm nextgen.
Quote Originally Posted by NextGen1 View Post
You should always offer the website as means to allow us to make the simplest code, however DOMS is straight forward so .

it should be

Code:
For Each element As HtmlElement In WebBrowser1.Document.All.GetElementsByName("password")

            element****nerText = "whateever password or value"

Next
leaching code isn't allowed unless you give credits and you didn't. here is where that code came from
Webbrowser Control Autofill ; Java box? - Xtreme Visual Basic Talkⓘ
Quote Originally Posted by Lonely Tedy Bear View Post
leaching code isn't allowed unless you give credits and you didn't. here is where that code came from
Webbrowser Control Autofill ; Java box? - Xtreme Visual Basic Talk
You are aware that HTML DOM is static in almost all languages right?
and my answer is the only correct answer for this topic.

and considering you are a "proficient developer"

http://www.mpgh.net/forum/173-operat...-addresss.html

You should know that, but it seems you leeched those addies from another hacking site anyway, so yeah, good job.

New guy don't me to well....

Quote Originally Posted by NextGen1 View Post


You are aware that HTML DOM is static in almost all languages right?
and my answer is the only correct answer for this topic.

and considering you are a "proficient developer"

http://www.mpgh.net/forum/173-operat...-addresss.html

You should know that, but it seems you leeched those addies from another hacking site anyway, so yeah, good job.

New guy don't me to well....

lol you and your friends close my thread and say my hacks are patched but there not and you guys wont show any proof that my addy's are leached cause it is impossible i made the list my self i asked your friends for a link to the so called hacking site that has it on there and they couldn't provide me with one ,i can't believe your mpgh team your abusing your powers
Marked solved, don't post if >7 days unless completely necessary.
Nextgen =/= leeching.
Well this looks great, another flamewar about to begin.

Mr. Teddy Bear, NextGen doesn't leech, and he usually has a reason to the things he says, whether it's a well-known fact or his logic.

/closed.
Posts 1–10 of 10 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us