[Tutorial] Making a CA account creator

Posts 1–13 of 13 · Page 1 of 1
[Tutorial] Making a CA account creator
first of all i didnt leeched this!!!

hy guys in this tut i show you how to use the "GetElementById" function

you should know the basics of html and visual basic

what we need
-1 comx
-1 textboxes
-1 button
-1 webbrowser
-1 radiobutton
-1 ceckbox

then your form should look like this


then you need a website
i take http://passport.nexon.net/Registration/Signup.aspx?nexonTheme=Nexon (this is the site to make a nexon account )
i just show you some samples not how to create a whole account Creator


then we need the source of the website


first we had to search for id="txtAccountId"


then double click on the textbox and add this code
Code:
        WebBrowser1.Document.GetElementById("txtAccountId").SetAttribute("value", TextBox1.Text)
then the comx this part is a little bit harder
first add the months to your comx
and then search for id="ddlBirthMonth"


then double click on your comx and past this code in
Code:
 If ComboBox1.SelectedItem = "January" Then
            WebBrowser1.Document.GetElementById("ddlBirthMonth").SetAttribute("value", "1")
        ElseIf ComboBox1.SelectedItem = "February" Then
            WebBrowser1.Document.GetElementById("ddlBirthMonth").SetAttribute("value", "2")
        ElseIf ComboBox1.SelectedItem = "March" Then
            WebBrowser1.Document.GetElementById("ddlBirthMonth").SetAttribute("value", "3")
        ElseIf ComboBox1.SelectedItem = "April" Then
            WebBrowser1.Document.GetElementById("ddlBirthMonth").SetAttribute("value", "4")
        ElseIf ComboBox1.SelectedItem = "May" Then
            WebBrowser1.Document.GetElementById("ddlBirthMonth").SetAttribute("value", "5")
        ElseIf ComboBox1.SelectedItem = "June" Then
            WebBrowser1.Document.GetElementById("ddlBirthMonth").SetAttribute("value", "6")
        ElseIf ComboBox1.SelectedItem = "July" Then
            WebBrowser1.Document.GetElementById("ddlBirthMonth").SetAttribute("value", "7")
        ElseIf ComboBox1.SelectedItem = "August" Then
            WebBrowser1.Document.GetElementById("ddlBirthMonth").SetAttribute("value", "8")
        ElseIf ComboBox1.SelectedItem = "September" Then
            WebBrowser1.Document.GetElementById("ddlBirthMonth").SetAttribute("value", "9")
        ElseIf ComboBox1.SelectedItem = "October" Then
            WebBrowser1.Document.GetElementById("ddlBirthMonth").SetAttribute("value", "10")
        ElseIf ComboBox1.SelectedItem = "November" Then
            WebBrowser1.Document.GetElementById("ddlBirthMonth").SetAttribute("value", "11")
        ElseIf ComboBox1.SelectedItem = "December" Then
            WebBrowser1.Document.GetElementById("ddlBirthMonth").SetAttribute("value", "12")
        End If

and now i show you how to click on a radibutton
search for id="rbGenderMale" or id="rbGenderFemale"

then double click on your radiobutton
and here is the code
Code:
WebBrowser1.Document.GetElementById("rbGenderMale").InvokeMember("click")
or for female
WebBrowser1.Document.GetElementById("rbGenderFemale").InvokeMember("click")
with the checkbox its the same just another id (id="chkTermofuse")
Code:
WebBrowser1.Document.GetElementById("chkTermofuse").InvokeMember("click")
and last the button
its the same code
id="btnSubmit"
Code:
WebBrowser1.Document.GetElementById("btnSubmit").InvokeMember("click")
i think thats all

hope you enjoyed and sorry for my bad english

if you have a question ask me
Good Job, But maybe on Tut Section or Snippet Vault?
Next time, post it in the Tutorials section + give credits if you leeched it. If you didn't, nice job.
Doesn't belong in either the Snippets Vault nor the tut section. I'm keeping all VB tuts in the VB section because that's where they belong until the VB section gets its own personal tutorial subsection. Also, it's not a "snippet", as it's too long and really is a project.

Looks good, a good level of explanation rather than "copy and paste this then compile" I like it. Keep it up.
Very Good Effort. Naice
"Kudi"
Leeching to a VB section near
Quote Originally Posted by whit View Post
"Kudi"
Leeching to a VB section near
Something so simple? Doubt it's leeched.
Quote Originally Posted by Jason View Post


Something so simple? Doubt it's leeched.
Ehh..
Hes Been Leeching the CA Multitool section for the past few days
From what im Seeing this looks Complicated as Fawk Atleast for me
He made it a lot more complicated than it needed to be
Quote Originally Posted by master131 View Post
I'm pretty sure Lolland wrote something like this already....

EDIT - Found it: http://www.mpgh.net/forum/33-visual-...generator.html
Yeah he did, but there's like 1000 of everyone common tutorial here already so mehz, not a biggie.He didn't use all the same shit either. So IMO, it's fine.
Nice im going to try this for a other game
@master131
@Jason
And I also agree with Jason
True I agree, looks like he just made a different GUI and changed sone options. And changed code by a little.
Posts 1–13 of 13 · Page 1 of 1
This thread is closed for replies.
Talk with us