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...

how to write basic programs in VB Script like addition,
multiplication?

Answer Posted / dipanjan

Dim a, b, c, d As Integer
a = TextBox1.Text
b = TextBox2.Text
c = TextBox3.Text
d = Int(a) + Int(b) + Int(c)
MsgBox (d)

for multiplication:

d = a * b * c
MsgBox (d)

Is This Answer Correct ?    6 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is diff between static and dynaic arrys?

2082


How will you get the smallest subscript of an array in vbscript?

1310


How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.

2914


what is the features of visual basic?

2039


Explain about .wsf files?

1057


What are subprocedures in vbscript?

1056


We have 1 web page with names column. I am giving the Service Providers1,2,3.... @ that time dynamically some no of names are displaying in the webpage and The Pop up windows are opening(No.of Pop Up windows=No.of Names). The names may be diffar for each and every Service Provders (Dynamically) How can we handle the Dynamic values?

2135


What is dictionary object in vbscript? Explain?

1116


Explain what is loose binding? Why is it not a good practice to use it?

1024


What are events in the vbscript language?

1047


Explain a few date functions in vbscript

938


Mention when to use function procedures and what are its characteristics?

1055


In html file what is an ideal position to include vbscript?

1358


How to write VB script for login module?

3118


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

1008