Results 1 to 7 of 7

Thread: [RESOLVED] Problem with ImageList after updating to SP6

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2006
    Posts
    160

    Resolved [RESOLVED] Problem with ImageList after updating to SP6

    I've updated to SP6 (even if it sounds strange I never did up to now heh), and now I'm having problems with the ImageList contained in MSCOMCTL.OCX... when I use:

    imgList.ListImages(index)

    The only 'property' I have access to is MSComCtlLib (?), and therefore I get an error when trying to access the picture...

    Has anyone seen this problem before?

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Problem with ImageList after updating to SP6

    Are you using the sp 6 version of the control or an earlier one? You may need to delete the image list and create a new one so it wil pick up the sp fix.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Sep 2006
    Posts
    160

    Re: Problem with ImageList after updating to SP6

    Quote Originally Posted by RobDog888
    Are you using the sp 6 version of the control or an earlier one? You may need to delete the image list and create a new one so it wil pick up the sp fix.
    I'm using the SP6 version, and even if I create a new project it doesn't work as it should...

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Problem with ImageList after updating to SP6

    I havent seen this issue with "MSComCtlLib" being a property of the IL control. Have you tried searching MSDN Knowledge Base online?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Sep 2006
    Posts
    160

    Re: Problem with ImageList after updating to SP6

    Quote Originally Posted by RobDog888
    I havent seen this issue with "MSComCtlLib" being a property of the IL control. Have you tried searching MSDN Knowledge Base online?
    Yep, I took a quick look with no luck. Anyway, I've just seen this download, and decided to install it when I've seen that it's newer than SP6 and the problem has disappeared.

  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: [RESOLVED] Problem with ImageList after updating to SP6

    But the update fix is not related to that error issue. Probably you had an issue diring the install of SP6 and a reinstall of SP6 would have sufficed.

    The fix you installed still help prevent other issues but note its not uninstallable.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Sep 2006
    Posts
    160

    Re: [RESOLVED] Problem with ImageList after updating to SP6

    Quote Originally Posted by RobDog888
    But the update fix is not related to that error issue. Probably you had an issue diring the install of SP6 and a reinstall of SP6 would have sufficed.

    The fix you installed still help prevent other issues but note its not uninstallable.
    I already tried reinstalling the SP6 twice, and it didn't solve the problem.

    I guess the fix completely rewrites the two controls affected.

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