Bug: Canceling a Folder Expand Event Causes Folder Reloading
|Solution: " Error in
Last reviewed May 17, 1998
On attempting to load a demo project file
containing the CCRP FolderTreeview Control into VB, an "Error Loading DLL"
message is generated.
This problem appears to be isolated to loading the
control in the VB5 IDE (any SP) on any Windows platform. Preliminary tests and user
feedback indicate that the control runs correctly inside both IE3 and IE4 browsers.
The file 'ISHF_Ex.tlb' file must be correctly registered in order for VB to successfully create and register an OCA file, and to instantiate the control correctly in the IDE.
1. Move the file 'ISHF_Ex.tlb' to your Windows or Windows\System(32) folder.
2. Open a new VB project. Use the components
dialog to navigate to the ccrpftv.ocx file. Assure the control is checked in the dialog,
and close to add to the toolbar. This will recreate a valid ccrpftv.oca. You can now add
the FolderTreeview control to the project, and it should run without incident. The
supplied demo projects can now be used, and the FolderTreeview control can now be
successfully added to other projects.
Users who did not receive the "Error loading dll" error most likely already had ISHF_Ex.tlb previously registered on your system.
We are currently looking into why the control need to have the type lib present on the system its run on. It is our understanding that information contained within a referenced type lib is compiled into the control, but in this situation it appears not to be the case. We will post further information as it becomes available.
Because of the current situation, we strongly recommend that this beta control (build v0.01.0061) not be distributed with any application.