Results 1 to 40 of 4215

Thread: CommonControls (Replacement of the MS common controls)

Hybrid View

  1. #1
    Lively Member
    Join Date
    Oct 2016
    Posts
    115

    Re: CommonControls (Replacement of the MS common controls)

    Quote Originally Posted by Krool View Post
    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?

  2. #2

    Thread Starter
    PowerPoster
    Join Date
    Jun 2012
    Posts
    2,742

    Re: CommonControls (Replacement of the MS common controls)

    Quote Originally Posted by Semke View Post
    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.

  3. #3
    Addicted Member
    Join Date
    May 2011
    Posts
    230

    Re: CommonControls (Replacement of the MS common controls)

    Quote Originally Posted by Krool View Post
    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.

  4. #4

    Thread Starter
    PowerPoster
    Join Date
    Jun 2012
    Posts
    2,742

    Re: CommonControls (Replacement of the MS common controls)

    Quote Originally Posted by VbNetMatrix View Post
    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.

  5. #5
    Addicted Member
    Join Date
    May 2011
    Posts
    230

    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)

  6. #6

    Thread Starter
    PowerPoster
    Join Date
    Jun 2012
    Posts
    2,742

    Re: CommonControls (Replacement of the MS common controls)

    Quote Originally Posted by VbNetMatrix View Post
    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.

  7. #7
    Fanatic Member
    Join Date
    Oct 2005
    Posts
    586

    Re: CommonControls (Replacement of the MS common controls)

    Quote Originally Posted by VbNetMatrix View Post
    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.

  8. #8
    Addicted Member
    Join Date
    Jun 2009
    Location
    C:\Windows\SysWOW64\
    Posts
    229

    Re: CommonControls (Replacement of the MS common controls)

    Quote Originally Posted by Darkbob View Post
    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

  9. #9
    Fanatic Member
    Join Date
    Oct 2005
    Posts
    586

    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.

  10. #10
    Addicted Member
    Join Date
    May 2011
    Posts
    230

    Re: CommonControls (Replacement of the MS common controls)

    Quote Originally Posted by Darkbob View Post
    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.

  11. #11
    Addicted Member
    Join Date
    May 2011
    Posts
    230

    Re: CommonControls (Replacement of the MS common controls)

    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
  •  



Click Here to Expand Forum to Full Width