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

Diff between web table ,datatable and data base (QTP)

2 Answers   TCS,


how to find number of characters(letter a) in the sentence Rain Rain Go away

4 Answers  


Can anyone help me in write coding to get this pattern * ** *** ****

3 Answers  


write a qtp script to count the number of minimized windows

1 Answers  


a;;b;c;;;d in this string output is abcd will come how can we do that in vbscript in QTP testing?

2 Answers  


How will you get the smallest subscript of an array in vbscript?

0 Answers  


compare the string without using stringcomp function?

1 Answers   CSS Corp,


write a vb script to generate the following pattern ***** **** *** ** *

7 Answers   Blue Star,


What is the differene between QTP 8.2 and QTP 9.0 and QTP 9.1,Pls give me answer ASAP.

3 Answers   Accenture,


What is the scope of a constant declared using public?

0 Answers  


Explain few date functions in vbscript?

0 Answers  


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

0 Answers  


Categories