Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write a vbscript for traffic signal

Answer Posted / manjunathareddy

Dim Red
Dim Green
Dim Orange
Dim Traffic
Traffic=InputBox("1.Red"&Vbnewline&"2.Green"&vbnewline&"3.Orange","Traffic
Signal")
Select Case Traffic
Case 1
Msgbox "Stop"
Case 2
Msgbox "Move"
Case 3
Msgbox "Ready to Move"
Case Else
Msgbox "Invalid Selection"
End Select

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you release the memory acquired by an array variable in vbscript?

1171


How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.

2918


how to increasing the numbers in a given text box please write a vb script

2156


How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.

2972


How can the spaces from the string be removed?

959


Does VB/Win make standalone .EXE files?

3349


write a function to read the items from combobox of Flight reservation & save in excel (QTP)??

2787


What are the data types supported by vbscript?

1045


How should i Create Email invite with server-side Coding?

2060


What is the purpose of on error resume next statement?

930


Write a Script for ATM in QTP

3803


Explain the constants in vbscript?

934


What is loose binding? Why is it not a good practice to use it?

1051


what is the differance between BYVAL,BYREF?

2219


How can you create a file object to work with the files in the vbscript language?

906