write a vb script to display
*****
*****
*****
*****
*****
Answers were Sorted based on User's Feedback
Answer / mudaseer
for i=1 to 5 step 1
for j=1 to 5 step 1
vstr=vstr & "*" & " "
next
vstr=vstr & vbnewline
next
msgbox vstr
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / eswar
cnt =0
x = "*"
For i=1 to 25
y=y&x
cnt = cnt+1
If cnt = 5 Then
cnt = 0
y = y&" "
End If
Next
MsgBox y
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / prathyusha
for i=1 to 5
for j=1 to 5
v=v&"*"
next
n=n&vbcrlf&v
next
msgbox n
Is This Answer Correct ? | 0 Yes | 0 No |
Explain the extension .hta?
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
Hi Friends, I am facing some issues with If,else condition,i.e. i am working on some web page for ex:gmail page.now if i want to check if username is incorrect or already exist,i want to display error message in my test report,for this i am using a simple code first,i.e. If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "Shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If But still i am getting a syntax error If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If I don't feel any thing wrong in this syntax but i don't understand why it shows such error,i am confused what went wrong,please help me out & do the favor,thanks a lot....
Could Anybody Please tell me What is the script for Find 3rd Largest element in the Array without using a SORT function int Find(int arr[], int size); Thanks in Advance..
In qtp, how to use XML files for framework. if the XML files are more Efficient than Excel files?
How will you get a string with the specified character the specified number of times in vbscript?
What is vbscript language used for and which earlier language is it modeled upon?
How to remove the spaces in a string Ex: "this is apple"
how does vb script help in web page designing? explain with example.
how to organize files in object repository of qtp
what is the differenece btwn scripting language and programming language
What are the 2 ways to pass a value to the function?