ImageList control

T'Pot

New Member
I am getting this weird bug & I was wondering if anybody has seem it before.
I using the Microsoft v5 treeview with an imageList (also MS v5)

most of the time everything works fine, but once in a while a error happens in the control_load routine.

I am using Progress 9.1D

The control was added using AppBuilder.

The error seems to happen on the following chunk of code:
ASSIGN
chcfImageList = cfImageList:COM-HANDLE
UIB_S = chcfImageList:LoadControls( OCXFile, "cfImageList":U)
chcfTreeView = cfTreeView:COM-HANDLE
UIB_S = chcfTreeView:LoadControls( OCXFile, "cfTreeView":U)

The error says:
"Error occured while accessing component property/method LoadControls.
Unexpected Failure
Error Code: 0x8000ffff control_load filename"

again usually there is no problem, but sometimes this error occurs, with the same data that worked before

Any help would be greatly appreciated
 
Top