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 / rohit yadav

private sub command 1_click()
text3.text=val(text1.text)+val(text2.text)
end sub

Is This Answer Correct ?    26 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which function is used in the vbscript language to convert the specified expression into a date type value?

936


I need to get some data from data base and store this (retrieved) data in a excel sheet using VB script in QTP9.0 I have created connection for data base I have created as excels sheet by using Set XL=CreateObject("Excel.Application") XLworksheet.cells(1,1).value= rs.fields.item("<>") I have taken a for loop and changed the cells values (1 as i and another 1 as j) But still I am not able to get Plz kindly tell me know this . It is very urgent

2241


PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com

2116


Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?

1916


Explain about the functionality of vb script?

965


Which function is used to perform string comparison?

1118


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

1161


Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?

1029


How will you get the natural logarithm of the given number in vbscript?

1040


When to use function procedures and what are its characteristics?

1075


What are keywords in the vbscript language?

1027


How to open browser in vb script?

1225


How to open excel in vb script?

1011


I am working on QTP, got struck in one place.. In my application depending upon configuration WebEdit count is increasing/ decreasing.. how to get these webedits..

2223


How are arrays declared in the vbscript language?

990