Solved

vb6 On Error Resume Next enforcement throughout the whole vb project (Global)

Posted on 2014-03-24
3
446 Views
Last Modified: 2014-03-24
Is there a way to enforce "On Error Resume Next" throughout the whole vb project (Global) ?  So that if any Run-time errors are encountered the system will keep running instead of coming to a complete end.
0
Comment
Question by:tesla764
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 250 total points
ID: 39950614
as by the specs:
http://msdn.microsoft.com/en-us/library/aa266173%28v=vs.60%29.aspx
Enables an error-handling routine and specifies the location of the routine within a procedure; can also be used to disable an error-handling routine.

and as far as I know, there is no such thing for the full project ...
you have to add this line for each procedure/function
0
 
LVL 14

Assisted Solution

by:Matti
Matti earned 250 total points
ID: 39950645
There is no global option in this, need to paste On Error Resume Next  on first line on every sub and event and function.  This kill all error handling, compiller might have better options to do it global as I assume there is some unexplained problem now. Note that this program can not in most cases be ported to .NET as structures are different like catch...try are error handling locig.

Matti
0
 

Author Closing Comment

by:tesla764
ID: 39950667
Thanks, that is very helpful.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question