Kbase 21710: ACTIVEX - Error 5890 Unexpected Failure With ActiveX Control
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  7/6/2006 |
|
Status: Unverified
FACT(s) (Environment):
Windows 98
Progress 8.3x
SYMPTOM(s):
Code runs correctly the first few times.
Error: Error occurred while accessing component property/method:LoadControls
Unexpected failure.
Error code: 0x8000ffff control_load <Program name> (5890)
Using chListview:ListView:Icons = chImagelist:ImageList.
Using chListview:ListView:SmallIcons = chImagelist:ImageList.
FIX:
- Set a COM-HANDLE variable referencing the ActiveX object:
DEFINE VARIABLE chImgList AS COM-HANDLE NO-UNDO.
chImgList = chImagelist:ImageList.
chListview:ListView:Icons = chImgList.
chListview:ListView:SmallIcons = chImgList.
- Do not forget to release the object when you do not need it anymore:
RELEASE OBJECT chImgList.