Print Page | Close Window

Wrong version of MSCOMCTL?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Active-X COM Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=3260
Printed Date: 12 May 2024 at 6:19pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Wrong version of MSCOMCTL?
Posted By: Gilthanas
Subject: Wrong version of MSCOMCTL?
Date Posted: 23 November 2005 at 4:12am
Hi,

we are using a DockingPaneManager in our VB6 (SP5) application. Our software is distributed with all the necessary DLLs and OCX, including those of CodeJock.

On most systems the application runs well. But on some systems (e.g. Win2000(SP4), but also some XP(SP2) machines) it crashes when using the method CreatePane ot the DockingPaneManager (but it works well on some others machines with the same OS and SP). The error message is "372 - ImageList cannot be loaded from MSCOMCTL.OCX. Your version of MSCOMCTL.OCX may be outdated". We have tried to replace the MSCOMCTL.OCX with various versions from new to old, but nothing worked. It seems like the DockingPaneManager is using some internal ImageList, maybe for the icons of the pane headers.

Without the CodeJock controls our application works fine, but we need those controls. Thanks in advance :-)

Best regards,

Uwe Bursik




Replies:
Posted By: Oleg
Date Posted: 24 November 2005 at 2:40am
Hwo you set icons for DockingPanes?

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Gilthanas
Date Posted: 24 November 2005 at 7:04am

Hi Oleg,

thanks for Your quick reaction, but we solved the problem otherwise. The CreatePane method did initialize a TaskPanel, on which we used an ImageList instead of an ImageManager, and that caused the problem. We replaced the ImageList with the ImageManager, and everything runs well right now :-)

Best regards,

Uwe Bursik




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net