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 Neopets Auto Adopter
05-03-2008 09:10 AM
by Sid
Last post by fierce_deity.exe
Today 11:38 PM
299 Replies, 23,901 Views
Go to first new post Anyone here play RO?
11-12-2008 07:56 PM
Last post by Zagoy
Today 11:35 PM
11 Replies, 56 Views
Go to first new post If you had one day to...
11-03-2008 05:09 AM
Last post by Zagoy
Today 11:34 PM
38 Replies, 643 Views
Go to first new post Fav Football Team?
11-19-2008 03:58 PM
by shep
Last post by Zagoy
Today 11:33 PM
13 Replies, 62 Views
Go to first new post What's your weather?
11-08-2008 04:43 PM
by reirei
Last post by Zagoy
Today 11:33 PM
59 Replies, 362 Views
Reply
 
LinkBack Thread Tools Display Modes

 Finding the NST Time [vb6]
Old 04-21-2007, 08:30 PM   #1 (permalink)
Banned

Zachafer is offline
 
Join Date: Apr 2007
Posts: 95
GPoints: 5
iTrader: 0 / 0%
Zachafer Is gaining popularity
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
Attached Files
File Type: zip NSTTIMER.zip (1.9 KB, 4 views)
  Reply With Quote

 
Old 04-27-2007, 09:42 PM   #2 (permalink)
Banned

Male Rockage is offline
 
Join Date: Feb 2007
Posts: 87
GPoints: 24
iTrader: -1 / 0%
Rockage Is gaining popularity
Rep Power: 0
ripped. zach give credit.
  Reply With Quote

 
Old 04-27-2007, 10:09 PM   #3 (permalink)
Underground

Male second2none is offline
 
Join Date: Sep 2006
Location: BrisBANE <----
Age: 19
Posts: 5,025
GPoints: 317
iTrader: 1 / 100%
second2none Is a Party Captainsecond2none Is a Party Captainsecond2none Is a Party Captain
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!
  Reply With Quote

 
Old 04-27-2007, 10:15 PM   #4 (permalink)
Banned

Male Rockage is offline
 
Join Date: Feb 2007
Posts: 87
GPoints: 24
iTrader: -1 / 0%
Rockage Is gaining popularity
Rep Power: 0
Yes but zach cant make anything without being spoon fed first. He ripped from Subaru
  Reply With Quote

 
Old 04-27-2007, 10:21 PM   #5 (permalink)
Underground

Male second2none is offline
 
Join Date: Sep 2006
Location: BrisBANE <----
Age: 19
Posts: 5,025
GPoints: 317
iTrader: 1 / 100%
second2none Is a Party Captainsecond2none Is a Party Captainsecond2none Is a Party Captain
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!
  Reply With Quote

 
Old 04-27-2007, 10:25 PM   #6 (permalink)
Banned

Male Rockage is offline
 
Join Date: Feb 2007
Posts: 87
GPoints: 24
iTrader: -1 / 0%
Rockage Is gaining popularity
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.
  Reply With Quote

 
Old 07-16-2007, 09:30 PM   #7 (permalink)
Underground

Ricardandroy is offline
 
Ricardandroy's Avatar
 
Join Date: Jun 2007
Posts: 98
GPoints: 1
iTrader: 0 / 0%
Ricardandroy Is gaining popularity
Rep Power: 5
that's good
  Reply With Quote

 
Old 08-06-2007, 01:45 PM   #8 (permalink)
Underground

Male m0nk3y_i3unz is offline
 
m0nk3y_i3unz's Avatar
 
Join Date: Jul 2007
Location: *tap tap* Behind you...
Age: 16
Posts: 988
GPoints: 271
iTrader: 0 / 0%
m0nk3y_i3unz Is gaining popularity
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.
  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 11:43 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.21734691 seconds (100.00% PHP - 0% MySQL) with 20 queries