A preserved archive of the Logical Gamers community forums, 2009-2025. The original threads and posts, served read-only. Registration, posting and private messages are gone for good.

[Tutorial] Creating a simple refresher

1.4k views · started by Keegan ·
#1
[Tutorial] Creating a simple refresher
For all the new programmers like me :) here is how you make a simple refresher for Welcome to Gaia | Gaia Online

Make a new project and name it

"Refresher bot" (Or anything u wana name it...)

Now add the following...
2 Buttons
1 Timer
1 Web Browser

Ok now place them however you want to place them

Now lets code the form
Double click it and type in the following code

Webbrowser1.Navigate("www.gaiaonline.com")


This will automatically go to gaia as soon as the project is set up...

Next
Go to the 1st button
Name it "Start"
Double click it and lets code it

Timer1.Enabled = True


This will start the timer up

Go to the 2nd button
Name it "Stop"
Double click it and lets code it

Timer1.Enabled = False


This button will stop the timer..

Now the main part
Double click the timer and type in the following code

WebBrowser1.Refresh()


This will refresh the page at every interval

Remember 1000=1 sec
SO before you test it out go to the timer and configure the interval...
Its default is 100
SO i sujest changing it to 5000

I Will post more tuts on how to make advanced refreshers

Enjoy
+ Rep pweze :)
#2
Thanks bro, real simple tut!
#3
zzGoWR wrote:
Thanks bro, real simple tut!


Its for alll new programmers :)
Np man ^_^
Check ut my other tuts..
Will post another tut on how to make a little better refresher later today
Hope this comes of use to you :)
#4
one question: what's the tool for making such programs? because I'm learning C language at the moment that uses DEV c++ so I wanted to know if that was the program to use.
#5
one question: what's the tool for making such programs? because I'm learning C language at the moment that uses DEV c++ so I wanted to know if that was the program to use.


Well IDK anything abt C...
But most of these programs are made using VB.net
google it for a download link
#6
Allright I think I should start learning it.. thanks!
#7
No problem dude :)