Results 1 to 8 of 8
  1. #1
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    VB6 IDE Crash (VB6)

    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

  2. #2
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Weert, Limburg, Netherlands
    Posts
    4,812
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: VB6 IDE Crash (VB6)

    Any addins loaded in the IDE?
    Jan Karel Pieterse
    Microsoft Excel MVP, WMVP
    www.jkp-ads.com
    Professional Office Developers Association

  3. #3
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: VB6 IDE Crash (VB6)

    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

  4. #4
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Weert, Limburg, Netherlands
    Posts
    4,812
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: VB6 IDE Crash (VB6)

    Maybe there is a problem with the dll that contains the controls you mentioned?
    Jan Karel Pieterse
    Microsoft Excel MVP, WMVP
    www.jkp-ads.com
    Professional Office Developers Association

  5. #5
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: VB6 IDE Crash (VB6)

    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

  6. #6
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Weert, Limburg, Netherlands
    Posts
    4,812
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: VB6 IDE Crash (VB6)

    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?
    Jan Karel Pieterse
    Microsoft Excel MVP, WMVP
    www.jkp-ads.com
    Professional Office Developers Association

  7. #7
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: VB6 IDE Crash (VB6)

    <img src=/S/hmmn.gif border=0 alt=hmmn width=15 height=15>... 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

  8. #8
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Weert, Limburg, Netherlands
    Posts
    4,812
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: VB6 IDE Crash (VB6)

    Sorry, no idea!
    Jan Karel Pieterse
    Microsoft Excel MVP, WMVP
    www.jkp-ads.com
    Professional Office Developers Association

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •