Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 795779
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T22:32:00+00:00 2026-05-14T22:32:00+00:00

If a run-time error occur in a VB6 app, does this mean Error handling

  • 0

If a run-time error occur in a VB6 app, does this mean Error handling has been turned off by use of the On Error Goto 0 statement?

Can this assumption be made? Or are there other circumstances in which a run-time error could occur?

If an error has been handled by either a Resume Next or a Goto then surely a run-time error would not occur. True or False?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T22:32:01+00:00Added an answer on May 14, 2026 at 10:32 pm

    It occurs because there is no error handler within the executing code, including calling procedures. You cannot make the assumption that On Error Goto 0 was used.

    I am assuming you mean an unhandled run-time error. Since it is unhandled, your application “ends abnormally”.

    Visual Basic Concepts, Error Handling Hierarchy, http://msdn.microsoft.com/en-us/library/aa241677(VS.60).aspx

    If an error has been handled by either
    a Resume Next or a Goto then surely a
    run-time error would not occur. True
    or False?

    False. Sometimes a run-time error will occur in the error handler. If your error handling logic misses this, you will get an unhandled run-time error.


    More Information

    Briefly, using On Error Goto 0 removes any error handler (disables or turns off) within the procedure until the procedure ends or you assign an error handler using one of the On Error statements. User-Interface events with no error handling code will also have no error handler until you define one.

    Error Trapping

    During debugging, you can specify “Error Trapping” which causes VBE to break “on-all-errors”, “in-class-module”, or “on-unhandled-errors”. During run-time, the behavior is “On Unhandled Errors” (A run-time error will occure if the Visual Basic Run-Time Library can find no error handler.). If you are troubleshooting / debugging, try setting “Error Trapping” to “Break on All Errors”. This will cause VBE to break at the point of the error, where you can start debugging or just contine execution.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am getting this run time error when using IID_IWebBrowser2 interface of CLSID_InternetExplorer. Run-Time
I keep getting a Run Time error that says I am having an Exception
When developing a .Net web application, if a run time error is generated, it
The following XAML produces a run-time Binding error when I click on an item
When I compile the following code, I only see the error during Run-time which
I'm getting this error when I try run DB:Rake : ** Invoke db:migrate (first_time)
I am getting this error in android with webservice. When i run android webservice
I have a C++ code base that has been working for a long time.
everyone, I got a strange problem, please help. the error message is: Run-time error
When I build my project and run game, I get this error always. Unhandled

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.