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 / ramesh

dim a,b,c,d
a=inputbox ("enter the value a: ")
b=inputbox ("enter the value b: ")
c=cint(a)+ cint (b)
d=a*b
msgbox c
msgbox d

Is This Answer Correct ?    13 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention what is byref and byval parameters in vbscript?

975


why variable name should not exceed 255 characters?

2184


What are the 2 ways in which a variable can be declared in the vbscript language?

1030


What are subprocedures in vbscript?

1077


Which object is used to work with the database in the vbscript language and what statement is used to create this object?

961


Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar

2478


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

1026


Plzzzzzzz can any one tell me which is the best institute in hyderabad for learing VBScript. plz do answer guys its urgent plzzzzzzz. thanks in advance.

2164


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

1818


can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.

2265


How do i automate a website www.flyashx.com without having any test cases witin a week time.

1871


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?

2152


What is the use of option explicit in vbscript?

967


Can anyone send me a vb script function for verifying the functionality of active links on a web page

1980


How will you convert a string to upper case string using vbscript?

961