
How to make a traffic light with visual basic?
I have to make this traffic light with visual basic 6.0. It has to have 3 vertical picture boxes. To start of with green box has to be already filled with green colored background. It supposed to cycle through colors when Tab button is pressed down. Press Tab and colors should cycle, Green, Yellow, Red, Green, Yellow,Red… How do I make that?
No I want some help or so tell me what function and property to use. I don’t ask for entire code
Suggestion by stuboston
you want someone to do your entire homework?
Suggestion by Dill
The only thing i’m not sure of is how to make TAB activate the lights. But, this is what you have to do:
1. Lay out the 3 picture boxes.
2. Use “BackColor” to fill them in ( start with just green)
3. Make a timer
4. Under the timer make a counter and then an if statement to reset the counter after 4 loops. Then make 3 if statements, one for each counter (1,2,3). Under each “if”, put the next lights fillcolor and hide the other two. Repeat this pattern
Sample
Dim Counter As Single
Private Sub Timer1_Timer()
Counter = Counter + 1
If Counter = 4 Then
Counter = 1
End If
If Counter = 1 Then
Picture1.BackColor = &HC000&
Picture2.BackColor = vbWhite
Picture3.BackColor = vbWhite
End If
If Counter = 2 Then
Picture2.BackColor = &HFFFF&
Picture1.BackColor = vbWhite
Picture3.BackColor = vbWhite
End If
If Counter = 3 Then
Picture3.BackColor = vbRed
Picture1.BackColor = vbWhite
Picture2.BackColor = vbWhite
End If
End Sub

How to make traffic to my site?
How to get traffic to my website?Please suggest.Tks.
Suggestion by ZUNAIRA
oOH THIS WEBSITE WILL SEND MANY VISITORS TO YOUR SITE.I AM aLSO uSING IT FOR MY WEBSITE.THANX
Suggestion by Richard
Take 3 separate ways to bring traffic to your site – using affiliates, distributing articles and creating ebooks.
There’s a way to link all these together to produce a rapid multiplying effect which will increase your traffic by an exponential factor.
http://themoneylinks.blogspot.com/
Suggestion by Duko
Social bookmarking is the best way to get traffic..
Suggestion by Boboo
You have to make sure you get alot of incoming links. This will get you traffic and ranking, all in one. Follow the 6 steps from the article below to increase your traffic and links!

How much do air traffic controllers make?
How much do air traffic controllers make when they first start off? How about when they’ve had 10, 15 years of experience? Does experience determine how much you get paid? Just curious. Thanks!
Oh, and do they make more at larger Int’l airports such as LAX or JFK as compared to Seattle-Tacoma?
Suggestion by Pilot & Mathematician Spaniard
If you comoare a pilot and ATC you will find that ATC can make upto twice as much as pilots (not captains as they are on more than £100,000 a year).
The pay isn’t that high as you start off but it does increase rapidly after many years and if you move onto bigger airports.
They are paid more in bigger airports because they have to deal with more flights and aircaft.
Hope I helped ![]()
Good luck













