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



write a vbscript for traffic signal..

Answer / 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

More VB Script Interview Questions

who you define variables and functions in VB?

1 Answers  


How to write functional test cases for send button in gmail.

2 Answers   Arctern,


can anybody tell vb script code for alphanumeric and special character .which is used in qtp the name text field.

1 Answers  


Explain vbscript in detail?

0 Answers  


compare the string without using stringcomp function?

1 Answers   CSS Corp,


How to get the background color of a weblist?

3 Answers   Accenture,


How are values assigned to string type and numeric type variables?

0 Answers  


write a qtp script to count the number of minimized windows

1 Answers  


how to find greatest of n numbers!

3 Answers   Syscon,


Mention what is the main difference between function and sub-procedure?

0 Answers  


Can any 1 modify the code whr in want to add\rename a excel sheet in qtp?

1 Answers  


who will create the object?

0 Answers   TCS,


Categories