|
-
Jan 23rd, 2017, 07:32 AM
#1
Lively Member
Re: CommonControls (Replacement of the MS common controls)
 Originally Posted by Krool
The OCX has been updated accordingly that the checkboxes will now drawn grayed in a disabled Checkbox Style ListBoxW control. (options not available in OCX)
What do you mean, "options not available in OCX" not available in this update or will never be available?
-
Jan 23rd, 2017, 11:33 AM
#2
Re: CommonControls (Replacement of the MS common controls)
 Originally Posted by Semke
What do you mean, "options not available in OCX" not available in this update or will never be available?
That means it will not be available in the 1.4 OCX.
Will be available in 1.5 OCX. (future version)
Last edited by Krool; Jan 23rd, 2017 at 12:01 PM.
-
Jan 29th, 2017, 03:37 AM
#3
Addicted Member
Re: CommonControls (Replacement of the MS common controls)
 Originally Posted by Krool
That means it will not be available in the 1.4 OCX.
Will be available in 1.5 OCX. (future version)
Hi Kroll,
I got a problem with last update. I have registered OleGuids in sysWow64 as usual...
but when I ran demo in IDE, I got:
"To use this functionality, you must provide a manifest specifying comctl32.dll version 6.0 or higher."
then IDE crash. (Vb6 IDE close down unexpectly)
I look all over forum, could you please give me a step by step on how to install the whole thing ?
1. install Oleguids in Syswow64 ? regtlib Oleguids.tlb ??
2. over last version, do we need to uninstall the Oleguids, if so, wich method do you use, RegTlib doesn't have -u
3. do we need manifest, if so, how to implement, where to place the file
thanks for everythings.
-
Jan 29th, 2017, 05:05 AM
#4
Re: CommonControls (Replacement of the MS common controls)
 Originally Posted by VbNetMatrix
Hi Kroll,
I got a problem with last update. I have registered OleGuids in sysWow64 as usual...
but when I ran demo in IDE, I got:
"To use this functionality, you must provide a manifest specifying comctl32.dll version 6.0 or higher."
then IDE crash. (Vb6 IDE close down unexpectly)
I look all over forum, could you please give me a step by step on how to install the whole thing ?
1. install Oleguids in Syswow64 ? regtlib Oleguids.tlb ??
2. over last version, do we need to uninstall the Oleguids, if so, wich method do you use, RegTlib doesn't have -u
3. do we need manifest, if so, how to implement, where to place the file
thanks for everythings.
The .Groups functionality in ListView is causing the error. (When no manifest for VB6.exe)
There is a On Error Resume Next in the Demo to avoid the crash.
However it only works when setup following:
- In order to trap error raises via "On Error Goto ..." or "On Error Resume Next" it is necessary to have "Break on Unhandled Errors" selected instead of "Break in Class Module" on Tools -> Options... -> General -> Error Trapping.
-
Jan 29th, 2017, 08:26 PM
#5
Addicted Member
Re: CommonControls (Replacement of the MS common controls)
I know your product is great... and I'm pretty sure you did it this way for a reason.
however, the question remain:
1. install Oleguids in Syswow64 ? regtlib Oleguids.tlb ??
2. over last version, do we need to uninstall the Oleguids, if so, wich method do you use, RegTlib doesn't have -u
3. do we need manifest, if so, how to implement, where to place the file
as for the on error hack, I got other class that I use that need to use the error debug as it is by default.
so I'm stuck...
and finally... it doesn't explain why the Vb6 IDE completely crash and close upon this error. are you subclassing ? (if so I missed it)
-
Jan 30th, 2017, 12:32 AM
#6
Re: CommonControls (Replacement of the MS common controls)
 Originally Posted by VbNetMatrix
I know your product is great... and I'm pretty sure you did it this way for a reason.
however, the question remain:
1. install Oleguids in Syswow64 ? regtlib Oleguids.tlb ??
2. over last version, do we need to uninstall the Oleguids, if so, wich method do you use, RegTlib doesn't have -u
3. do we need manifest, if so, how to implement, where to place the file
as for the on error hack, I got other class that I use that need to use the error debug as it is by default.
so I'm stuck...
and finally... it doesn't explain why the Vb6 IDE completely crash and close upon this error. are you subclassing ? (if so I missed it)
If you change the error trapping setting the On Error ... will work in both UserControl and Class Module. So dont worry.
The OLEGuids you can actually just overwrite by copy&paste.
-
Jan 29th, 2017, 12:29 PM
#7
Fanatic Member
Re: CommonControls (Replacement of the MS common controls)
 Originally Posted by VbNetMatrix
Hi Kroll,
I got a problem with last update. I have registered OleGuids in sysWow64 as usual...
but when I ran demo in IDE, I got:
"To use this functionality, you must provide a manifest specifying comctl32.dll version 6.0 or higher."
then IDE crash. (Vb6 IDE close down unexpectly).
I get the same thing. This is such an amazing project but it's a shame the demo doesn't run at all.
I read in another link you need to hack the VB6.EXE file to include resources. Frankly I have no idea what a manifest is and I'm a bit reluctant to hack the VB6.EXE - but if I have to, I'll do it. I downloaded a resource hacker and gave it a go but no luck.
I know it must be simple to get it up and running but honestly coming in late in the game like this and see the demo crash and burn it's tempting to just say "meh it doesn't work" and move on.
Still, I'm determined to ditch some of these old MS dependencies and move on to something more modern - without having to ditch VB6 entirely. It would be great if there was some kind of comprehensive install guide.
-
Jan 29th, 2017, 12:44 PM
#8
Addicted Member
Re: CommonControls (Replacement of the MS common controls)
 Originally Posted by Darkbob
I get the same thing. This is such an amazing project but it's a shame the demo doesn't run at all.
I read in another link you need to hack the VB6.EXE file to include resources. Frankly I have no idea what a manifest is and I'm a bit reluctant to hack the VB6.EXE - but if I have to, I'll do it. I downloaded a resource hacker and gave it a go but no luck.
I know it must be simple to get it up and running but honestly coming in late in the game like this and see the demo crash and burn it's tempting to just say "meh it doesn't work" and move on.
Still, I'm determined to ditch some of these old MS dependencies and move on to something more modern - without having to ditch VB6 entirely. It would be great if there was some kind of comprehensive install guide.
http://www.vbforums.com/showthread.p...nifest-Creator
-
Jan 29th, 2017, 01:00 PM
#9
Fanatic Member
Re: CommonControls (Replacement of the MS common controls)
Thanks for the general info link. I'm afraid it doesn't really help in this case.
Digging into this project a bit I've found the problem is in the Public Function ComCtlsSupportLevel()
On my computer it's return a null.
Digging deeper it looks like I'm running some DLL that's at v5.82. ComCTLsSupportLevel is written in such a way as to return 1 if you have v6.0 and 2 if you have higher than 6.0 but it doesn't handle a situation where you have anything lower than 6.
I modified the routine to return a value of 2 and the demo now runs. But clearly something's wrong either with this routine or with my VB install.
Edit. Further digging and I see my version of ComCtl32.OCX - digitally signed by Microsoft November 2, 2016 is version 5.82. I'm guessing I have an old version of ComCtl32.OCX somehow?

Whats weird is that ComCTL32.dll is 6.1.
Last edited by Darkbob; Jan 29th, 2017 at 03:02 PM.
-
Jan 29th, 2017, 08:20 PM
#10
Addicted Member
Re: CommonControls (Replacement of the MS common controls)
 Originally Posted by Darkbob
Whats weird is that ComCTL32.dll is 6.1.
Where did you get that information? how can you make such deduction? I'm tyring to understand, you lost me here.,
What is your OS ?
I'm on Win7x64, in my Syswow64, my version of comctl32.dll is 5.82.7601.18837
plz post more.
-
Jan 29th, 2017, 08:16 PM
#11
Addicted Member
Re: CommonControls (Replacement of the MS common controls)
 Originally Posted by Cube8
that's very nice but it doesn't tell us what to include in the manifest so Vb6.exe DON'T CRASH.
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
|