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 Anglo-Saxon Riddles
Today 05:53 PM
by Fewmitz
Last post by Axed
Today 06:59 PM
4 Replies, 14 Views
Go to first new post Has Anyone Ever
12-02-2008 11:48 PM
by Saint
Last post by scromlette
Today 06:59 PM
6 Replies, 49 Views
Go to first new post Ruzzykinz.
Today 06:14 PM
Last post by Bex
Today 06:58 PM
49 Replies, 67 Views
Go to first new post How to annoy someone,...
Yesterday 12:31 PM
Last post by Aethean
Today 06:57 PM
9 Replies, 60 Views
Go to first new post the video on the front...
Today 06:55 PM
Last post by terinuptrash
Today 06:56 PM
1 Replies, 2 Views
Reply
 
LinkBack Thread Tools Display Modes

 [VB6] Gaia Daily Chance Checker - How to
Old 10-01-2008, 01:22 PM   #1 (permalink)

Male |G3| is online now

 
Join Date: Feb 2007
Posts: 3,846
GPoints: 7,815
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: 21
[VB6] Gaia Daily Chance Checker - How to

You should do this tutorial first before attempting this because they go in order.




Code used:
Code:
Private Sub Command2_Click()
Dim i As Integer
Dim strHTML As String
Dim item As String

For i = 1 To 5
    strHTML = wrapper.PostWrapper("http://www.gaiaonline.com/dailycandy/?mode=nojs&section=" & i, "action=issue&submit_action=Click+Here+to+Claim+Your+Reward%21", "http://www.gaiaonline.com")
    If InStrB(1, strHTML, "Reward Is...</h1>") Then
        item = wrapper.iB(strHTML, "<b>", "</b>")
        List1.AddItem ("Success! Daily chance item: " & item)
    ElseIf InStrB(1, strHTML, "<p>You can't claim the reward for this section. Either you've already claimed it, or it has been disabled.</p>") Then
        List1.AddItem ("Failed, you already claimed this daily chance")
    Else
        List1.AddItem ("Failed, unknown reason")
    End If
Next i
List1.AddItem ("Finished..")
End Sub
__________________

Last edited by |G3|; 10-01-2008 at 01:27 PM..
  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 06:59 PM.


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.09193802 seconds (100.00% PHP - 0% MySQL) with 19 queries