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

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.

1755


Mention characteristics of sub procedures?

798


What is the event handling in vbscript?

741


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

2022


What is event handling in vbscript?

793


How can constants be declared in the vbscript language?

751


What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?

777


How to declare an array in vbscript?

876


Explain the filter expression?

835


1) How can we use VB script in testing the application? 2) What all are the things(Software application to be installed in PC) we need to learn VBscript?

3765


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?

1960


How will you get a subset of a array in vbscript?

755


What is the difference between a dictionary and an array?

798


What is vbscript language used for and which earlier language is it modeled upon?

743


What is Procedure or Subroutine in VB Script?

823