[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.vb.general.discussion

I regret ever upgrading VB6 to the *latest* service pack

(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
3 Answers

Abhishek

7/18/2011 9:09:00 PM

0

I am using SP6 for years without any problem. check this for more info on
which update to install http://vb6zone.bl.../2010/07/vb6-up...

> build a manifest with Make My Manifest

the problem may be in MMM, not in VB6 update, many time MMM adds double
entries in the xml file, it still need manual edit sometimes.

>Could I uninstall VB6 *completely* from the PC, including all the
>registry gubbins, then reinstall from scratch but omit the final FINAL
>update?

yes, you can, manually deleted ocx files to be sure.

--
abhishek
http://vb6zone.bl...


"MM" <kylix_is@yahoo.co.uk> wrote in message
news:6v2927dbo76qc8r53hnfhj0a8tt3jalqc2@4ax.com...
| 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.
|


(Mike Mitchell)

7/19/2011 7:02:00 AM

0

On Tue, 19 Jul 2011 02:38:42 +0530, "Abhishek"
<abhishek007p@hotmail.com> wrote:

>I am using SP6 for years without any problem. check this for more info on
>which update to install http://vb6zone.blogspot.com/2010/07/vb6-up...

Thanks for that link. The page referred to contains much useful
information.

Especially:

"Updates NOT to Install
Never install the Dec-2008 (KB 957924) Cumulative Update, it is very
buggy ...." -- I reckon this is what I did install, although I think
I installed the corrective one later. What is bloody irritating of
Microsoft is that they issued the corrective
(VB60SP6-KB957924-v2-x86-ENU.msi) but KEPT THE SAME KB NUMBER!

I also note from the MMM web site that there is a new beta version
available as of this year, so I'm going to try that later anyway
(irrespective of my current problem).

MM

(Mike Mitchell)

7/19/2011 9:45:00 AM

0

On Tue, 19 Jul 2011 02:38:42 +0530, "Abhishek"
<abhishek007p@hotmail.com> wrote:

>I am using SP6 for years without any problem. check this for more info on
>which update to install http://vb6zone.blogspot.com/2010/07/vb6-up...
>
>> build a manifest with Make My Manifest
>
>the problem may be in MMM, not in VB6 update, many time MMM adds double
>entries in the xml file, it still need manual edit sometimes.

Yes, having looked afresh this morning at the manifest file, if I edit
it in Notepad and remove CLSIDs applicable to the 'old' comctl32.ocx
(dated 2004), leaving only the 'new' CLSIDs pertaining to the latest
comctl32.ocx (dated 2009), the problem is fixed! (This of course means
including the 2009 version in the DEPS folder.)

I've just tried the latest beta version of MMM and it still inserts
double entries. Anyway, not a problem as long as I can manually
massage the manifest file.

MM