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

Answers were Sorted based on User's Feedback



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

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

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

Answer / sumathi

For i =1 to 5
var=string(5,"*")
print var
Next

Is This Answer Correct ?    0 Yes 0 No

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

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

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

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

Post New Answer

More VB Script Interview Questions

write a vb script to display the number is odd or even and whether it is divisible by 9 or not

2 Answers  


Hi, Anybody could you Please tell me How to write the script for Checking whether given number is Prime Number or not..Thanks in Advance

6 Answers   Amazon,


What is the event handling in vbscript?

0 Answers  


How will you get a subset of a array in vbscript?

0 Answers  


when we use filter funtiom invb script(QTP)

0 Answers   TCS,


Explain the constants in vbscript?

0 Answers  


In qtp, how to use XML files for framework. if the XML files are more Efficient than Excel files?

1 Answers  


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.

0 Answers  


what is extension of the file if its saved from recovery manger to some drive

1 Answers  


HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.

0 Answers  


in qtp we ve datatable look like excel ,if we want to extract data from excel which saved in my documet how can i get that in datatable using vb script

2 Answers  


how to validate the text in a web table

2 Answers   Mphasis,


Categories