|
-
Sep 10th, 2003, 08:00 AM
#1
Thread Starter
Hyperactive Member
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
-
Sep 10th, 2003, 06:05 PM
#2
Member
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
-
Sep 12th, 2003, 07:50 AM
#3
Thread Starter
Hyperactive Member
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
-
Sep 12th, 2003, 02:25 PM
#4
Thread Starter
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|