• VB6 IDE Crash (VB6)

    Author
    Topic
    #444582

    I’ve been chasing this for some time.

    The VB IDE (Visual Studio 6.0) will crash whenever I try to display a Form that contains any of these controls:
    PictureBox
    Label
    TextBox
    Image
    CheckBox
    ComboBox
    ListBox
    Other standard controls appear to give no problems, also a new blank form, but any of the above and it crashes. It will display code OK, and existing projects will run as before. It’s just trying to “Show Object” that brings it down. I suspect some change to a system file, but have no idea when or what. Also, a fresh install of VS6 and SP6 and a full SFC of XP-SP2 didn’t solve it. Same occurs in Safe Mode and with all add-ins disabled.

    The immediate error message I get is:

    Visual Basic
    ============
    Error signature

    AppName: vb6.exe AppVer: 6.0.81.76 ModName: vb6.exe
    ModVer: 6.0.81.76 Offset: 000581f1

    Debug issues the following:

    Microsoft Visual C++
    ====================
    Unhandled exception in VB6.EXE: 0xC0000005: Access Violation.

    I used Dependency Walker to analyse VB6.EXE and came up with the following list of version numbers on my system:

    VBA6.DLL 6.0.0.8169
    OLE32.DLL 5.1.2600.2726
    OLEAUT32.DLL 5.1.2600.3139
    GDI32.DLL 5.1.2600.3159
    USER32.DLL 5.1.2600.3099
    KERNEL32.DLL 5.1.2600.3119
    ADVAPI32.DLL 5.1.2600.2180

    KERNEL32.DLL 5.1.2600.3119
    NTDLL.DLL 5.1.2600.2180

    ADVAPI32.DLL 5.1.2600.2180
    RPCRT4.DLL 5.1.2600.2180

    OLE32.DLL 5.1.2600.2726
    MSVCRT.DLL 7.0.2600.2180

    I believe all of these to be legit XP SP2 versions.

    If anybody can think of anything else to check, before the dreaded total reinstall of XP, I’d appreciate the tip.

    Alan

    Viewing 0 reply threads
    Author
    Replies
    • #1075809

      Any addins loaded in the IDE?

      • #1075839

        The only add-ins running were Component Services Add-In for VB 5.0/6.0 and Visual Component Manager 6.0. Disabling had no effect, I’m afraid. Also replaced VB6.OLB and VB6EXT.OLB with known good copies. Still no joy.

        Alan

        • #1075933

          Maybe there is a problem with the dll that contains the controls you mentioned?

          • #1075987

            Well, that’s what I want to find out. The error report points to VB6.EXE but who knows if this is the real source of the problem. I can reproduce the behaviour with the following (standard) controls:

            PictureBox
            Label
            TextBox
            Image
            CheckBox
            ComboBox
            ListBox

            These appear to behave OK though:

            CommandButton
            Frame
            OptionButton
            H-scroll
            V-scroll
            Timer
            Drive, Dir, File ListBox
            Shape, Line
            Data
            OLE

            I don’t know if that provides any insights?

            Alan

            • #1076119

              I know VB6 houses “Basic” controls, which are managed by VB entirely and also “Advanced” controls which are handled by Windows. But your lists seems a mix of the two?

            • #1076226

              hmmn… are there any specific .DLLs that I could examine, which bear any relation to these listed controls? I’m wondering about the ones handled by Windows. Since I have no problem with pre-built executables containing any of these controls, might that at least eliminate some possibilities?

              Alan

            • #1076252

              Sorry, no idea!

    Viewing 0 reply threads
    Reply To: VB6 IDE Crash (VB6)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: