» Site Navigation | | | » Advertisement | | | » Recent Threads | | | | | | | | | | | |  |  | Finding the NST Time [vb6] |  |
04-21-2007, 08:30 PM
|
#1 (permalink)
| Banned
Join Date: Apr 2007 Posts: 95
GPoints: 5 Rep Power: 0 | Finding the NST Time [vb6] Here is my code on how to Find the NST Time in VB6. Code: '============================
'MADE BY ZACHAFER
'============================
'This Code Snippet Will Get NST (Neopets Standard Time) for you in a flash
'I am using the fastest version of GetStringBetween I could Find.
'Optimized for speed.
'Pretty Basic
'============================
'GetBetween Function Written by sockopen.:
'UBER FAST.
'============================
Public Function GB(rC As String, rS As String, rF As String, Optional lgB As Long = 1) As String
lgB = InStr(lgB, rC, rS) + Len(rS): GB = Mid$(rC, lgB, InStr(lgB, rC, rF) - lgB)
On Error GoTo Error_Handler_by_Zach
Error_Handler_by_Zach:
Dim MsgBoxThing As Integer
MsgBoxThing = MsgBox("Error Occurred.", vbOKOnly + vbCritical, "Error.")
If MsgBoxThing = vbOK Then
Beep
Unload Me
End If
End Function
'============================
'Form Initialize:
'============================
Private Sub Form_Initialize()
Timer1.Interval = "1"
Timer1.Enabled = True
End Sub
'============================
'Timer Code:
'============================
Private Sub Timer1_Timer()
Dim strHTML As String
Dim strNST As String
strHTML = wrap.GetWrapper("http://neopets.com/", "http://google.com/")
strNST = GB(strHTML, "<span id=nst>", " NST</span><br><br>")
Label1.Caption = "Current Neopets Time: " & strNST & ""
End Sub
'============================
'MADE BY ZACHAFER
'=========================== ---
Uses the GetBetween Function by sockopen.
I added a simple error handler.
Any Questions post them =]]
-Zach | |
| |  |
04-27-2007, 09:42 PM
|
#2 (permalink)
| Banned
Join Date: Feb 2007 Posts: 87
GPoints: 24 Rep Power: 0 | ripped. zach give credit. | |
| |
04-27-2007, 10:09 PM
|
#3 (permalink)
| Underground
Join Date: Sep 2006 Location: BrisBANE <---- Age: 19 Posts: 5,025
GPoints: 317 Rep Power: 16 | Who did he rip it from. o.0 Plus its not hard to make 
__________________ This is from:
Screenies Of A Mod Code: How did you do it? FLP , jotform, some other form of hacking? - First Class Noob Lawl.. funny shit.
Quote: |
Originally Posted by Kore By k[ore] on Today, 08:44 AM
i'll give you rep alright, but it won't be positive. | Lawl Ownt
Hoes forgot to eat a dick and shut the FUCK UP! | |
| |
04-27-2007, 10:15 PM
|
#4 (permalink)
| Banned
Join Date: Feb 2007 Posts: 87
GPoints: 24 Rep Power: 0 | Yes but zach cant make anything without being spoon fed first. He ripped from Subaru | |
| |
04-27-2007, 10:21 PM
|
#5 (permalink)
| Underground
Join Date: Sep 2006 Location: BrisBANE <---- Age: 19 Posts: 5,025
GPoints: 317 Rep Power: 16 | from NF? Ive seen that.
Sigh- its very similar.. but just like neo login codes.. They are ALL very similar. not much I can do :(
__________________ This is from:
Screenies Of A Mod Code: How did you do it? FLP , jotform, some other form of hacking? - First Class Noob Lawl.. funny shit.
Quote: |
Originally Posted by Kore By k[ore] on Today, 08:44 AM
i'll give you rep alright, but it won't be positive. | Lawl Ownt
Hoes forgot to eat a dick and shut the FUCK UP! | |
| |
04-27-2007, 10:25 PM
|
#6 (permalink)
| Banned
Join Date: Feb 2007 Posts: 87
GPoints: 24 Rep Power: 0 | You know he ripped it as well as I know it. Its alright that you cant do anything, I talked to ryan about it. | |
| |
07-16-2007, 09:30 PM
|
#7 (permalink)
| Underground
Join Date: Jun 2007 Posts: 98
GPoints: 1 Rep Power: 5 | that's good | |
| |
08-06-2007, 01:45 PM
|
#8 (permalink)
| Underground
Join Date: Jul 2007 Location: *tap tap* Behind you... Age: 16 Posts: 988
GPoints: 271 Rep Power: 6 | too bad its ripped. Im too lazy to study the code, but does it also get seconds?
__________________ 333 Im only half evil. Thanks Sejiru!!! U rox!  Its not my fault if I started all the interesting threads. (Reply to a post written to me ^^)  Thanks Sejiru! ... Again :P Quote:
James: Good lick!
Greg2o: Wha...What?
James: Whatever you know what I meant. Dont act stupid.
James: Now shutup and work!
| Quote: |
on a scale of 1 to chris owens, your easily a john baxter.
| | |
| |  | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | |