How can you destroy an object in vbscript?



How can you destroy an object in vbscript?..

Answer / Raj Kumar Thakur

In VBScript, there is no explicit command to 'destroy' an object. Instead, when a variable containing an object is reassigned or the script ends, the memory occupied by that object is automatically released.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More VB Script Interview Questions

How do you write an SQL insert statement?

4 Answers   HCL,


what is event handling?

1 Answers  


Hi Friends, I am facing some issues with If,else condition,i.e. i am working on some web page for ex:gmail page.now if i want to check if username is incorrect or already exist,i want to display error message in my test report,for this i am using a simple code first,i.e. If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "Shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If But still i am getting a syntax error If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If I don't feel any thing wrong in this syntax but i don't understand why it shows such error,i am confused what went wrong,please help me out & do the favor,thanks a lot....

1 Answers  


How do you get the value of a combo box in Javascript?

2 Answers   Aspire,


Could Anybody Please tell me What is the script for Find 3rd Largest element in the Array without using a SORT function int Find(int arr[], int size); Thanks in Advance..

1 Answers   Amazon,


what is the code in QTP to take screen shot? Please send me any one to my mail id. my mailid is manu.sanepalli@gmail.com

4 Answers   TCS,


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

1 Answers  


write a vbscript for traffic signal

1 Answers  


What's the difference between vbscript and vb.net?

1 Answers  


How can the spaces from the string be removed?

1 Answers  


What is variant in vb script?

1 Answers  


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?

1 Answers  


Categories