(Mike Mitchell)
7/18/2011 8:00:00 PM
On the one PC I only upgraded to VB6 SP6. On the other I went the
whole hog and got the Microsoft FINAL service pack for VB6.
I'm currently building an app that uses "Microsoft Windows Common
Controls 5.0 (SP2)" in order to get the version 5 ListView control and
thus implement XP Styles and the fancy checkboxes.
However, I think it's due to the fact that MS changed some or all of
the CLSIDs in the final update that I'm getting no end of problems
when attempting to build a manifest with Make My Manifest. What you
end up with in the manifest file is a whole bunch of duplicated
entries*:
<file name="DEPS\comctl32.ocx">
<typelib tlbid="{6B7E6392-850A-101B-AFC0-4210102A8DA7}"
version="1.3" flags="control" helpdir="" />
<comClass clsid="{9ED94440-E5E8-101B-B9B5-444553540000}"
tlbid="{6B7E6392-850A-101B-AFC0-4210102A8DA7}"
threadingModel="Apartment" progid="COMCTL.TabStrip.1"
description="Microsoft TabStrip Control" />
<comClass clsid="{44E266A2-CD46-47A0-9ED5-EEEC5F0C2A6E}"
tlbid="{6B7E6392-850A-101B-AFC0-4210102A8DA7}"
threadingModel="Apartment" progid="COMCTL.TabStrip.1"
description="Microsoft TabStrip Control" />
<comClass clsid="{612A8624-0FB3-11CE-8747-524153480004}"
tlbid="{6B7E6392-850A-101B-AFC0-4210102A8DA7}"
threadingModel="Apartment" progid="COMCTL.Toolbar.1"
description="Microsoft Toolbar Control" />
<comClass clsid="{97992019-74A6-46C7-9CA3-7F8C0D39940B}"
tlbid="{6B7E6392-850A-101B-AFC0-4210102A8DA7}"
threadingModel="Apartment" progid="COMCTL.Toolbar.1"
description="Microsoft Toolbar Control" />
<comClass clsid="{6B7E638F-850A-101B-AFC0-4210102A8DA7}"
tlbid="{6B7E6392-850A-101B-AFC0-4210102A8DA7}"
threadingModel="Apartment" progid="COMCTL.SBarCtrl.1"
description="Microsoft StatusBar Control" />
<comClass clsid="{E8F8E80F-02EB-44CC-ABB5-6E5132BA6B24}"
tlbid="{6B7E6392-850A-101B-AFC0-4210102A8DA7}"
threadingModel="Apartment" progid="COMCTL.SBarCtrl.1"
description="Microsoft StatusBar Control" />
<comClass clsid="{0713E8D2-850A-101B-AFC0-4210102A8DA7}"
tlbid="{6B7E6392-850A-101B-AFC0-4210102A8DA7}"
threadingModel="Apartment" progid="COMCTL.ProgCtrl.1"
description="Microsoft ProgressBar Control" />
<comClass clsid="{612685EF-57C8-469F-88AB-E4E0B595C5AB}"
tlbid="{6B7E6392-850A-101B-AFC0-4210102A8DA7}"
threadingModel="Apartment" progid="COMCTL.ProgCtrl.1"
description="Microsoft ProgressBar Control" />
<comClass clsid="{0713E8A2-850A-101B-AFC0-4210102A8DA7}"
tlbid="{6B7E6392-850A-101B-AFC0-4210102A8DA7}"
threadingModel="Apartment" progid="COMCTL.TreeCtrl.1"
description="Displays a hierarchical list of Node objects, each of
which consists of a label and an optional bitmap." />
<comClass clsid="{E44F7BD4-3AB1-4D55-9190-FC53343AD2D2}"
tlbid="{6B7E6392-850A-101B-AFC0-4210102A8DA7}"
threadingModel="Apartment" progid="COMCTL.TreeCtrl.1"
description="Displays a hierarchical list of Node objects, each of
which consists of a label and an optional bitmap." />
<comClass clsid="{58DA8D8A-9D6A-101B-AFC0-4210102A8DA7}"
tlbid="{6B7E6392-850A-101B-AFC0-4210102A8DA7}"
threadingModel="Apartment" progid="COMCTL.ListViewCtrl.1"
description="Displays a collection of ListItems such as files or
folders." />
<comClass clsid="{79C784C5-8F0D-4A55-ADB3-590CCFC8EB0D}"
tlbid="{6B7E6392-850A-101B-AFC0-4210102A8DA7}"
threadingModel="Apartment" progid="COMCTL.ListViewCtrl.1"
description="Displays a collection of ListItems such as files or
folders." />
<comClass clsid="{0713E8C4-850A-101B-AFC0-4210102A8DA7}"
tlbid="{6B7E6392-850A-101B-AFC0-4210102A8DA7}"
threadingModel="Apartment" progid="MSDataListLib.RowSource.1"
description="ListView Item collection" />
<comClass clsid="{58DA8D8F-9D6A-101B-AFC0-4210102A8DA7}"
tlbid="{6B7E6392-850A-101B-AFC0-4210102A8DA7}"
threadingModel="Apartment" progid="COMCTL.ImageListCtrl.1"
description="Contains a collection of ListImage objects, each of which
can be referred to by its index or key" />
<comClass clsid="{53749718-F78D-4A67-8703-8AE050075170}"
tlbid="{6B7E6392-850A-101B-AFC0-4210102A8DA7}"
threadingModel="Apartment" progid="COMCTL.ImageListCtrl.1"
description="Contains a collection of ListImage objects, each of which
can be referred to by its index or key" />
<comClass clsid="{373FF7F0-EB8B-11CD-8820-08002B2F4F5A}"
tlbid="{6B7E6392-850A-101B-AFC0-4210102A8DA7}"
threadingModel="Apartment" progid="COMCTL.Slider.1" description="A
calibrated control with a slider for setting or selecting values." />
<comClass clsid="{2B577565-36F7-4351-B2E7-DAFC75E9D72A}"
tlbid="{6B7E6392-850A-101B-AFC0-4210102A8DA7}"
threadingModel="Apartment" progid="COMCTL.Slider.1" description="A
calibrated control with a slider for setting or selecting values." />
</file>
So ListView, for example, ends up with two entries, one with
<comClass clsid="{58DA8D8A-9D6A-101B-AFC0-4210102A8DA7}" and the other
with <comClass clsid="{79C784C5-8F0D-4A55-ADB3-590CCFC8EB0D}" which I
believe is the version installed with that final service pack update.
Needless to say, the manifest above won't work! The app won't even
load, but throws an error. If I replace the entire <file
name="DEPS\comctl32.ocx">....</file> section with the 'clean' one from
the other PC which only had the SP6 update, and also make sure the
DEPS folder contains the original SP6 version of comctl32.ocx, the
manifest and app work fine together.
I'm still trying to get to the bottom of where it's going wrong and
why, but it's all to do with the fact that MC changed some or all of
the CLSIDs in the final VB6 service pack update, I reckon.
Could I uninstall VB6 *completely* from the PC, including all the
registry gubbins, then reinstall from scratch but omit the final FINAL
update?
* The <file name="DEPS\comctl32.ocx">........ </file> block above can
be made much more readable by pasting it into Notepad with wordwrap
off.
MM