who you define variables and functions in VB?



who you define variables and functions in VB?..

Answer / saimahesh babu

variable declaration:dim a
function declaration:

function nameoffuntion(var)
msgbox var
end funtion

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More VB Script Interview Questions

how to automatically update the sql server2005 database records when insert in vb6?

0 Answers  


Which function is used to perform string comparison?

0 Answers  


When importing an excel file that has several columns each with different number of rows into QTP's Global datatable, how can you count the number of rows in a particular column?

3 Answers   Logica CMG, McGraw Hill,


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

0 Answers  


what types of bugs will we find out in banking projects for automation testing?

0 Answers   Napier Healthcare, TCS,






Can someone please tell me what poor design in a relational database (not the layout or style) is and how it can be avoided? PLEASE...im desperate.

0 Answers  


wat is com(common object model)object for mozilla firefox??? if any knows the exact answer....plz rply me

2 Answers  


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

0 Answers  


When inserting strings into a SQL table in ASP what is the risk and how can you prevent it?

1 Answers  


Hello Friends , I am the new joinner of this website. I am working with Sapient ,Gurgoan I would like to ask few qurries regarding the QTP Tool of (Testing) Currently working on QTP Tool . I would like to no learn VB Script can u name some Books which i get in market. And a small issue in QTP I had 2 users right i have to login and send the document from this user to second user right. when i am send this doc some contendId number generates right. now i am loging into second user and i have to search for that contentId right i found it now i dont want to accept the document so i had an opption of check out ok i have to click on check out my QTP Code is like this Browser(" ").Page(" ").WebTable(" ").ChildItem (3,5,"Image",0).click Browser(" ").Page(" ").Link("ChecK Out").Click i new this code is perfectly right but when i am run the script i have to click on that particular contentId and click on check out but now the Problem is started the error is the document has been already checked out remeber every time my content id changes means it is the new contentId which is not been used atleast once Please help me out in this issue i am in big trouble

0 Answers   GCE, Sapient,


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.

0 Answers   Synechron,


Explain How do you create a recordset object in vbscript?

0 Answers  


Categories