Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are lbound and ubound in the vbscript language?

1142


What is the technology used by vb script?

1016


If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?

1027


how to increasing the numbers in a given text box please write a vb script

2259


How to Import data from a file (file is on the desktop) to the data table

2046


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

1086


1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.

2060


What are string functions in vbscript?

1213


1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)

2154


Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).

1958


How can you create an object in vbscript?

1126


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

1081


How can you destroy an object in vbscript?

1162


Explain vbscript in detail?

1109


Mention what is select case statement?

1018