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

function vaibhav x,y
dim x,
dim y,
dim z,
z=x*y
msgbox z

Is This Answer Correct ?    116 Yes 59 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which function is used to perform string comparison?

1118


How can you create a file object to work with the files in the vbscript language?

941


What is variant in vb script?

1146


What is the technology used by vb script?

958


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

1057


regular expression that will recognize a browser as long as its name property starts with mybrowser

2230


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

2269


who will create the object?

2192


Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?

998


why do u choose to go for testing why cant for devoloping

2060


Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.

2090


what is the differance between BYVAL,BYREF?

2258


Which data type/types are supported by vbscript language and what are their specialties?

1037


What is the purpose of on error resume next statement?

988


What is purpose of scripting.filesystemobject class in vbscript?

1112