Go Back   Gaming Gutter > Non-Gaming > Programming > Tutorials


Tutorials - Looking for programming tutorials to increase your knowledge? Do so here.

» Site Navigation
» Home
» FAQ
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Advertisement
» Recent Threads
Go to first new post [Help][C#] gaia loggin?
12-31-2008 03:28 PM
Last post by Snar
Today 07:16 AM
3 Replies, 32 Views
Go to first new post Explaining Instr() and...
12-23-2008 07:07 PM
Last post by Snar
Today 07:15 AM
3 Replies, 91 Views
Go to first new post GG NIGHT CREW, CHECK IN!
12-15-2008 04:59 AM
by Bunneh
Last post by Mrs. Morris
Today 07:14 AM
3,876 Replies, 16,336 Views
Go to first new post Folding@Home? Lets Cure...
01-06-2009 07:41 PM
by Seelyon
Last post by Seelyon
Today 07:13 AM
7 Replies, 33 Views
Go to first new post weed marijuana cannabis...
Yesterday 03:44 PM
Last post by Mrs. Morris
Today 07:13 AM
67 Replies, 301 Views
Reply
 
LinkBack Thread Tools Display Modes

 [VB6] How to make a Gaia Login
Old 10-01-2008, 08:47 AM   #1 (permalink)

Male |G3| is offline

 
|G3|'s Avatar
 
Join Date: Feb 2007
Posts: 4,159
GPoints: 13,559
iTrader: 9 / 100%
|G3| Is a Subordinate to Kyo|G3| Is a Subordinate to Kyo|G3| Is a Subordinate to Kyo|G3| Is a Subordinate to Kyo|G3| Is a Subordinate to Kyo|G3| Is a Subordinate to Kyo|G3| Is a Subordinate to Kyo
Rep Power: 22
[VB6] How to make a Gaia Login

For this tutorial, you need this wrapper.



Finished Code:
Code:
Private Sub Command1_Click()
Dim strHTML As String

If username.Text = vbNullString Then
    MsgBox ("Please enter a username")
    Exit Sub
ElseIf password.Text = vbNullString Then
    MsgBox ("Please enter a password")
    Exit Sub
End If

username.Enabled = False
password.Enabled = False
Command1.Enabled = False

strHTML = wrapper.PostWrapper("login.gaiaonline.com/gaia/login.php", "username=" & username.Text & "&password=" & password.Text & "&frob=&token=&redirect=http%3A%2F%2Fwww.gaiaonline.com%2F&chap=", "http://www.gaiaonline.com")
If InStrB(1, strHTML, "Location: http://www.gaiaonline.com/?login_success=1") Then
    MsgBox ("Logged in!")
Else
    MsgBox ("Login failed")
    username.Enabled = True
    password.Enabled = True
    Command1.Enabled = True
End If
End Sub
  Reply With Quote
The Following 3 Users Say Thank You to |G3| For This Useful Post:
sirhiro (12-29-2008), Snar (12-21-2008), une heures (12-22-2008)

 
Old 01-05-2009, 01:27 PM   #2 (permalink)
Full Member

Male james310 is offline
 
james310's Avatar
 
Join Date: Jan 2009
Location: on the computer seat, in front of the computer =P
Posts: 50
GPoints: 608
iTrader: 0 / 0%
james310 Is gaining popularity
Rep Power: 1
This is a good tut, the first program I was able to make, thx ^^. I was wondering, is there source code to log out of gaia or is it the same as this one but with some changes?
  Reply With Quote

 
Old 01-05-2009, 02:26 PM   #3 (permalink)

Male |G3| is offline

 
|G3|'s Avatar
 
Join Date: Feb 2007
Posts: 4,159
GPoints: 13,559
iTrader: 9 / 100%
|G3| Is a Subordinate to Kyo|G3| Is a Subordinate to Kyo|G3| Is a Subordinate to Kyo|G3| Is a Subordinate to Kyo|G3| Is a Subordinate to Kyo|G3| Is a Subordinate to Kyo|G3| Is a Subordinate to Kyo
Rep Power: 22
Well, most of the time logging out is basically;

wrapper.clearcookies

Easiest way to log out.
  Reply With Quote

 
Old 01-05-2009, 03:25 PM   #4 (permalink)
Full Member

Male james310 is offline
 
james310's Avatar
 
Join Date: Jan 2009
Location: on the computer seat, in front of the computer =P
Posts: 50
GPoints: 608
iTrader: 0 / 0%
james310 Is gaining popularity
Rep Power: 1
Oh ok, thanks alot, I was wondering how to do it, wanna put it on the program
  Reply With Quote
Reply

Bookmarks



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.1.0

All times are GMT -7. The time now is 07:18 AM.


vBulletin skin developed by: eXtremepixels
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The contents of this webpage are copyright © 2006-2008 GamingGutter.com. All Rights Reserved.

Page generated in 0.23198891 seconds (100.00% PHP - 0% MySQL) with 18 queries