Go Back   Gaming Gutter > Non-Gaming > Programming > Source Code


Source Code - Have a source code/project files you want to post? 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 mOBSCENE's score sender...
Today 01:11 AM
Last post by Toffie
Today 04:42 AM
7 Replies, 30 Views
Go to first new post I *think* I just got...
Today 02:03 AM
Last post by Hodizzle
Today 03:07 AM
6 Replies, 33 Views
Go to first new post Lil Wayne
10-21-2008 09:33 PM
Last post by Toffie
Today 02:49 AM
46 Replies, 391 Views
Go to first new post forgot my birthday i put...
10-30-2008 09:27 AM
by dookie
Last post by seleporx
Today 02:29 AM
23 Replies, 490 Views
Go to first new post Plastic Surgery Hell
Yesterday 08:02 PM
by Li-Shun
Last post by Hodizzle
Today 01:51 AM
11 Replies, 62 Views
Reply
 
LinkBack Thread Tools Display Modes

 [vb6] neologin
Old 07-23-2008, 08:00 PM   #1 (permalink)
Site Programmer

Male Violent_J is offline
 
Violent_J's Avatar
 
Join Date: Nov 2006
Location: Sacramento, California
Age: 16
Posts: 933
GPoints: 469
iTrader: 5 / 100%
Violent_J Is Amongst RoyaltyViolent_J Is Amongst Royalty
Rep Power: 9
[vb6] neologin

Code:
Private Sub cmdlogin_Click()
  cmdlogin.Enabled = False
  lblstatus.Caption = "Logging in!"
  
  HTML = w.PostWrapper("http://www.neopets.com/login.phtml", "username=" & txtusername.Text & "&password=" & txtpassword.Text & "&destination=%2Findex.phtml", "http://www.neopets.com/hi.phtml")
                If InStr(1, HTML, "badpassword") Then
                lblstatus.Caption = "Wrong password!"
                cmdlogin.Enabled = True
                ElseIf InStr(1, HTML, "FROZEN") Then
                lblstatus.Caption = "Account frozen!"
                cmdlogin.Enabled = True
                ElseIf InStr(1, HTML, "too many times") Then
                lblstatus.Caption = "Guessed password too many times!"
                cmdlogin.Enabled = True
                elseif InStr(1, HTML, "Location: /index.phtml") <> 0 Then
                lblstatus.Caption = "Logged in as " & txtusername.Text & ""
                cmdlogin.Enabled = False
               me.hide
               frmmain.show
           End If
           
  End Sub
__________________



Current rep: 110
  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.0 RC2

All times are GMT -7. The time now is 04:56 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.19156909 seconds (100.00% PHP - 0% MySQL) with 19 queries