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:
UPDATED "Web" is actually Webbrowser1Code: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!")
Debug and test (:
Please rep if used
Results 1 to 4 of 4
- 27 Jul. 2011 11:56pm #1
[Vb8] How to make a Simple Gaia Auth
Last edited by Datsik; 30 Jul. 2011 at 06:48pm.
- 30 Jul. 2011 06:33am #2
Error 1 'Document' is not a member of 'Web'. C:\Users\crystal\AppData\Local\Temporary Projects\WindowsApplication1\Form1.vb 9 9 WindowsApplication1
Error 2 'Document' is not a member of 'Web'. C:\Users\crystal\AppData\Local\Temporary Projects\WindowsApplication1\Form1.vb 10 9 WindowsApplication1
Error 3 'Document' is not a member of 'Web'. C:\Users\crystal\AppData\Local\Temporary Projects\WindowsApplication1\Form1.vb 11 9 WindowsApplication1
Any help moteFace:
- 30 Jul. 2011 06:46pm #3
- 30 Jul. 2011 08:50pm #4
Haha its all good