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

What are lbound and ubound in the vbscript language?

0 Answers  


Is vbscript language a case-sensitive language and what does it mean?

0 Answers  


Consider there are objects in a webapp which are identified by QTP. Suppose you know only the logical name of a object(absolutely nothing else about it). Which approach will you take to find the "micClass" of the object(You can't use Object Spy, or can't add the object in repository)?

2 Answers   HCL,


How to add actions in driver script to run those actions in QTP?

0 Answers  


Write a Fucntion to close all Opened browser expect desired one?

2 Answers   Ness Technologies,


What is event handling in vbscript?

0 Answers  


Why to add checkpoint in QTP What's the purpose of checkpoints & how to add it

2 Answers  


what is diff between static and dynaic arrys?

0 Answers  


Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).

0 Answers  


How to create a function in vbscript?

0 Answers  


How can you destroy an object in vbscript?

0 Answers  


Explain about tristate constants?

0 Answers  


Categories