write a vb script to generate hello 5 times using do until
loop
Answers were Sorted based on User's Feedback
Answer / abhishek mallabadi
dim ivar
ivar=0
do until ivar=5
msgbox "hello"
ivar=ivar+1
loop
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / monika
dim ivar
ivar=0
do
msgbox "hello"
ivar=ivar+1
loop until ivar=5
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / monika
dim ivar
ivar=5
do until ivar=0
msgbox "hello"
ivar=ivar-1
loop
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mudaseer
dim ivar
ivar=5
do until ivar=1
msgbox "hello"
ivar=ivar-1
loop
| Is This Answer Correct ? | 0 Yes | 4 No |
Mention what if you do not specify anything when you call a procedure?
How many types of procedures are available in the vbscript language?
how to find greatest of n numbers!
1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)
What is the difference between javascript and vbscript?
how to comvert 120 into one hunderd twenty rupees only and vice varsa
How will you check that a variable is an array in vbscript?
what is the function to display current date?
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...
I wrote the vbscript code on notepad i was geeting run time error "object required line 1" my code is set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signin("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Setsec ure.Crypt.Encrypt("entr password") browser("gmail").page("gmail").WebButton("siginobj").click pls tell me whats wrong
How to open excel in vb script?
A folder is there inside no of textfiles are avilable. How do count the textfiles. Normally folder means we are using subfolder methods but textfiles is not working for subfolder methods and how do get file name also.