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 |
I want to import the sheet from the Excel to the Datatable using VB Script. I used the Syntax as 'Datatable.ImportSheet "Filename","SourceSheet","Destinat ionSheet" Ex: Datatable.ImportSheet "D:\Data1.xls","Sheet1","Global" Qtp producing run time error,How I can solve the problem
There are 5 web pages.write a script to click the button on 4th web page.
write a Vb script to find a whther a selected drive exits.
Mention characteristics of sub procedures?
Is vbscript language a case-sensitive language and what does it mean?
How to generate 3 digit random number?
What is the difference between function and procedure?
How do you create a recordset object in VBScript?
HI how can handle dynamic image through vb script example we have to create email id fill the edit box(these latters change wrong password) i am wating your answer
Which operator is used to concatenate the 2 values in the vbscript language?
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
What are the disadvantages of vbscript?