What purpose does ‘on error resume next’ serves?



What purpose does ‘on error resume next’ serves?..

Answer / Sajid Husain

'on error resume next' is a statement used in VBScript to prevent an error from stopping the execution of the script. When an error occurs, the script will bypass the line of code causing the error and continue executing from the next line without displaying an error message.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More VB Script Interview Questions

Hi everybady, i have faced few Qns in one of i attended interview, please help me out with these below Qns. 1. how to join values without using join function? 2. how to compare values without using String compare function? 3. input is Bangalore, but i need output like this below format, what is function to use and get this outcome B A N G A L o R E 4. Input is "CapGemini" but uotput should be like this "inimeGpaC" 5. Input is 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 Can someone let me know results of this Qns, please. Thanks.

2 Answers   CSS Corp,


What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?

1 Answers  


filter the array values without using filter function?

1 Answers   CSS Corp, WQED,


How will you get the octal value of the given number in vbscript?

1 Answers  


What are the data types supported by vbscript?

1 Answers  


Explain the adodb.stream class?

1 Answers  


write a vb script to find simple interest using functions

1 Answers  


when you use For Loop, While..do, do..while? at what situations which loop will use.

1 Answers  


How to find a latest file from any folder

3 Answers   Ness Technologies,


HI how can handle dynamic image through vb script example we have to create email id fill the edit box(these latters change wrong password) i am wating your answer

1 Answers  


hi, How will write a regular expression of date in VB scripting.

1 Answers  


What is the use of the date function in the vbscript language?

1 Answers  


Categories