Click to See Complete Forum and Search --> : Converting VB5 controls to VB6 controls
Francis
Nov 1st, 1999, 02:26 PM
Hi,
does anybody know how to make an "old" VB project use VB6 controls instead of VB5 controls (I mean for example: how to use MScomctl.ocx instead of Comctl32.ocx)? I need this without having to re-design all the forms (I can't change components if they're used in some forms of the project)...
I tried editing .vbp and .frm file but it seems not to be sufficient.
Thanks,
Bye,
Francis
Crazy D
Nov 1st, 1999, 02:33 PM
There must be a setting somewhere.. upgrade ActveX controls.. now I only can't find where....
Francis
Nov 1st, 1999, 02:51 PM
Thanks Crazy D,
it's in Project properties, but it seems not to do anything (perhaps it works with .ocxs with the same name, but as I said, I would like to change old comctl32.ocx with new -and more performant I think - MScomctl.ocx).
Any more suggestion?
Thanks and bye,
Francis
Serge
Nov 1st, 1999, 06:01 PM
I know it's a pain, but there's only one thing you can do. Open your .vbp file in notepad. Change the reference Comctl32 to the MSComctl. It should look something like this:
Object={6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.2#0; comctl32.ocx
Change it to something like:
Object={6B7E6392-850A-101B-AFC0-4210102A8DA4}#1.3#0; mscomctl.ocx
Regards,
------------------
Serge
Software Developer
Serge_Dymkov@vertexinc.com
Access8484@aol.com
Francis
Nov 1st, 1999, 10:19 PM
Thank you Serge,
I had already had that idea myself, but it seems not to be sufficient. I changed my .frm too, but still it doesn't work.
Where is the error?
Bye,
Francis
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.