write a vb script to generate the following pattern
*****
****
***
**
*
Answer Posted / miko
Dim x,i,j
For i=1 To 5
For j=1 To i
x=x&j
Next
x=x&vbNewLine
next
MsgBox x
***********output*********
1
12
123
1234
12345
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
What is the difference between for loop and while loop?
What is the difference between vbscript and vba?
how to operate webobjects in a webpage using getobject function and then using generic methods?
Which in-built function is used to format the number in the vbscript language?
What is the main difference between function and sub-procedure?
What are the valid scopes of a variable in vbscript?
Mention what is the technology used by vb script?
where can i learn VB scripint ?
Explain the constants in vbscript?
Explain the extension .hta?
Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder
i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click
Hi, Can anyone please send me vb script examples to practice vb and also material to learn vb scripting in QTP? my email id : hareen_11@yahoo.com
Explain about tristate constants in vbscript?
Is vbscript language a case-sensitive language and what does it mean?