Results 1 to 4 of 4

Thread: Corrupt comctl32.ocx "Microsoft Windows Common Controls 5.0" on XP [RESOLVED]

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2001
    Location
    N42 29.340 W71 53.215
    Posts
    422

    Corrupt comctl32.ocx "Microsoft Windows Common Controls 5.0" on XP [RESOLVED]

    I have an HP desktop, XP home, with HP printer & scanner.

    All of my VB apps that use comctl32.ocx (TreeView, ListView, ImageList, etc) constantly complain at startup that they can't find the file "hpmdinst.msi" "HP Memories Disc".

    These same programs run fine on my other non-XP PCs.

    I've scanned several systems, several CDs, and the web for this file. Nothing. DogPile had one hit - in Chinese.

    Tried replacing comctl32, no diff.

    Has anyone else seen this? Does anyone have any suggestions?
    It's not fatal, but it is very annoying.

    Thanks, DaveBo
    Last edited by DaveBo; Sep 12th, 2003 at 07:51 AM.
    "The wise man doesn't know all the answers, but he knows where to find them."
    VBForums is one place, but for the really important stuff ... here's a clue 1Tim3:15

  2. #2
    Member inthecrossfire's Avatar
    Join Date
    Aug 2001
    Posts
    52
    Try this site, has a problem with that file & perhaps a solution. Use Google, it's better.

    http://www.pbdr.com/vbtips/gen/amycomdlg.htm

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2001
    Location
    N42 29.340 W71 53.215
    Posts
    422

    Using old control

    Found the problem, or should I say – the solution.

    The offending programs are some carry-overs that I originally wrote in VB5 and have subsequently recompiled under VB6.

    I replaced "Microsoft Windows Common Controls 5.0 (SP2)" COMCTL32.OCX
    with "Microsoft Windows Common Controls 6.0 (SP6)" MSCOMCTL.OCX
    and all is well.
    "The wise man doesn't know all the answers, but he knows where to find them."
    VBForums is one place, but for the really important stuff ... here's a clue 1Tim3:15

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2001
    Location
    N42 29.340 W71 53.215
    Posts
    422

    FYI a fix "Upgrade ActiveX Controls"

    VB6 is apparently supposed to automatically upgrade your old controls if you have "Upgrade ActiveX Controls" checked in your project properties screen. But, it doesn't work for me.

    Anyway, I found this
    " Version 6.0, ActiveX Control Upgrade Utility"
    at http://msdn.microsoft.com/vbasic/dow...axupgrade.aspx

    "This utility will upgrade your Visual Basic 5.0 and pre-release 6.0 projects to use the latest Visual Basic 6.0 ActiveX controls. Specifically this utility will update any project that contains any of the following ActiveX controls:
    Microsoft Windows Common Controls - COMCTL32.OCX
    Microsoft Windows Common Controls-2 - COMCT232.OCX
    Microsoft Chart Control - MSChart.OCX"

    You have to download the exe, run it to install, then find where it put the ProjUpgd.exe file.
    IN my case
    "C:\Program Files\Microsoft Visual Studio\VB98\Tools\ProjUpgd"

    There's a readme.txt file there also.
    "The wise man doesn't know all the answers, but he knows where to find them."
    VBForums is one place, but for the really important stuff ... here's a clue 1Tim3:15

Posting Permissions

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



Click Here to Expand Forum to Full Width