write a vb script to generate hello 5 times using do until
loop

Answer Posted / abhishek mallabadi

dim ivar
ivar=0
do until ivar=5
msgbox "hello"
ivar=ivar+1
loop

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of regexp object in vbscript?

551


What is the use of the instr function?

577


How to get the length of the string by making use of the string function?

558


What are keywords in the vbscript language?

518


What are the properties of regexp object?

579






What is the extension of the vbscript file?

549


What are the naming conventions while declaring a variable in the vbscript language?

612


What is the use of the date function in the vbscript language?

556


Mention how to create a cookie using vbscript?

524


How to take whole text output from screen of Bitmap Application.

1864


can anyone tell me the procedure of interview held in applabs

1746


i have a problem with this error(this error related edit and delete button,when i click this button in datagrid..i will get this error)"Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation." this is my code : <%@ Page Language="VB" Debug="false" %> <%@ import Namespace="Sytem.Data" %> <%@ import Namespace="System.Data.OleDB" %>

(Search Based On Staff I.C No) IC.No (XXXXXX-XX-XXXX)   ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> Total Leave Taken : Days

2340


How to write functions and sub in vb script?

620


wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......

1485


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

1795