write a vb script to display
*****
*****
*****
*****
*****

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?

481


How can constants be declared in the vbscript language?

551


In html file what is an ideal position to include vbscript?

807


How to Enter Values on the Command promt using VB script

1530


How will you get the last occurrence of one string within another string using vbscript?

683






Mention how you can call vbscript functions?

581


Explain the asc function?

505


What are the differences between sub procedures and function procedures?

518


How can the spaces from the string be removed?

589


How can you create a file object to work with the files in the vbscript language?

502


Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?

520


how to operate webobjects in a webpage using getobject function and then using generic methods?

2542


When are redim statement and preserve keyword used in the vbscript language?

590


Which operator can be used to do an xor operation in vbscript?

676


What is the difference between vb debugger and the script debugger?

584