[Vb8] How to make a Simple Gaia Auth
Well I'm rebuilding my towns client and I'd figure to share my auth code,
What you Need:
2 text boxes.
1 button
1 web browser
Once you got a web browser, (Visible or non)
Goto Properties and set url to: Http://www.gaiaonline.com/auth/login
Double click the Button and input the following code:
Code:
web.Document.GetElementById("username").SetAttribute("value", Textbox1.Text)
WebBrowser1.Document.GetElementById("password").SetAttribute("value", Textbox2.Text)
WebBrowser1.Document.GetElementById("memberloginForm").InvokeMember("submit")
If Textbox1.Text = "" Then MsgBox("You must enter an ID.", MsgBoxStyle.Information, "Error!")
If Textbox2.Text = "" Then MsgBox("You must enter a password.", MsgBoxStyle.Information, "Error!")
UPDATED "Web" is actually Webbrowser1
Debug and test (:
Please rep if used