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

Explain the tristate constants in vbscript?

0 Answers  


i am having some basic knowledge in c and VB 6.0. i qtp i want to know how to write the codings. by recording it is generating lot of codings. for example i want to test the text box. senerio is text box should not accept alphabets if it accept alphabets we should return fail status if it get number we should return pass status. how to write coding in vb script please help me

0 Answers  


How to create pull down menu box using vb script

0 Answers  


can u test the application without add-in?

1 Answers  


write a vb script code to display the vbscript word by word (i e 1st it should display v then b and up to t )

1 Answers  






how to increase the values in text box in a given text box increament by two values by clicking on button

0 Answers  


Which in-built function is used to format the number in the vbscript language?

0 Answers  


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

1 Answers  


Inorder to avoid Message box while writing script which alternative method can be used?

1 Answers  


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

0 Answers  


What are the 2 ways to pass a value to the function?

0 Answers  


how to display all the links in one page using vb script in qtp.

1 Answers   DST Global Solutions,


Categories