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
-
07-27-2011 11:56 PM #1
[Vb8] How to make a Simple Gaia Auth
-
07-30-2011 06:33 AM #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
-
07-30-2011 06:46 PM #3
-
07-30-2011 08:50 PM #4



Reply With Quote

Bookmarks