write a vb script to generate hello 5 times using do until
loop

Answer Posted / monika

dim ivar
ivar=5
do until ivar=0
msgbox "hello"
ivar=ivar-1
loop

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you get the natural logarithm of the given number in vbscript?

599


What is event handling in vbscript?

593


What is the difference between javascript and vbscript?

532


Which operator can be used to change the value of the operand or change the state of the condition?

569


Is VB Script Case sensitive or Case insensitive?

631






How to open a file. What is the perpose of true and false mode there?

603


Explain the arrays in vb script?

583


Mention what is the difference between vbscript and vba?

509


what types of bugs will we find out in banking projects for automation testing?

1760


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

576


Compare java script and vb script?

588


What is the use of the date function in the vbscript language?

556


Which keyword is used to declare a variable in the vbscript language?

527


Explain about adodb.stream class?

587


I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?

857