Errorhandled VB6 App - some computers -> Application Error / Hang

Posted on 2008-11-10
Last Modified: 2012-08-13

I have developed a rather large VB6 application.
I have added my own error handling on every method, meaning no error should cause a Windows Crash or Hang.
However on some computers my program will simply suddenly freeze up and throw a windows error with the standard "Dont send" button on it.

Windows also logs these errors

How can such errors occur when i have error handlers all over my application ?

This is giving some customers a huge problem, does anyone have any idea what could cause these error or how to figure out what is ?
Question by:mSchmidt
    LVL 13

    Expert Comment


    good morning!

    that could mean that your program has no error,
    but the dll and ocx that u used in the program is probably missing or corrupted.
    Please check it.


    Author Comment

    shoot.. i use a lot of DLLs, and OCXs for my application, is there any way to debug which one is failing ?
    LVL 13

    Accepted Solution


    is hard to debug if OCX or DLL is failing, but since the the application works in your PC,
    then u can simply used ur dll or ocx and paste it to the other PC...but the most
    advisable way is, you create a setup of your application using package and deployment
    wizard or any packaging application.. then, add all the ocx and dll u have used on that
    package...finally install the application..

    *all the ocx and dll u have included on the package will be copied or added on the pc.

    i hope i could give u idea..


    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Suggested Solutions

    When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
    Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
    As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
    Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

    745 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now