VB 6 app crashes when ALT+F4 or [x] is used. RRS feed

  • Question

  • All,

    I am having an issue with a VB6 app crashing if I use ALT+F4 or [x] to close the window. If I use the "exit" button the app closes without error.

    This only happens on Windows Server 2008 R2. Windows 7 or Windows Server 2012 does not exhibit the issue.

    Trace from error:

    Problem signature:

      Problem Event Name: APPCRASH

      Application Name: Appname.exe

      Application Version:

      Application Timestamp: 588908bc

      Fault Module Name: StackHash_dbf9

      Fault Module Version:

      Fault Module Timestamp: 00000000

      Exception Code: c0000005

      Exception Offset: 04246c81

      OS Version: 6.1.7601.

      Locale ID: 1033

      Additional Information 1: dbf9

      Additional Information 2: dbf9aa5289c36e5eb39fb6409cf56aab

      Additional Information 3: 9b3a

      Additional Information 4: 9b3a6df284ab4a5f01224ca8983db604

    Things I have tried:

    1) Adding app to the DEP exclusion list.

    2) Disabling the DEP entirely.

    3) Running the .NET fix/repair utility.

    4) Disabling adding program to toolbar for recently used apps.

    Any help is appreciated.

    Monday, June 12, 2017 6:08 PM

All replies

  • Yea that is why they created VB for Net, which is more robust than the versions before that. 

    However, this forum is not for vintage VB (we are currently almost 20 years and 10 versions further). 

    There are forums where persons who keep them running are active. 

    This is one of those. 



    Monday, June 12, 2017 6:38 PM
  • When you do post this in the proper forum, I would suggest that you at least describe what the program does. Nobody like to guess.
    Tuesday, June 13, 2017 3:27 AM