Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

error: "imagelist must be initialized before it can be used"

148 views
Skip to first unread message

Paul Easter

unread,
Apr 29, 2002, 5:46:26 PM4/29/02
to
I am using a ListView, TreeView, and an Imagelist control on a web page.
Everything works fine in IE 5, and 5.5, but I get the following error in
IE 6

error: "imagelist must be initialized before it can be used"


. Its not just some IE 6 brwosers, but every single computer running IE 6.
Iv'e tried setting the imagelist properties in the Param tags on the
treeview and listview. I can;t seem to find anything on this in Microsoft
Support pages. It seems to me that the Imagelist control just doesn;t work
in IE6. here is the HTML code for initiating the objects. Any help would be
GREATLY appreciated. TIA Paul

<OBJECT CLASSID = "clsid:5220cb21-c88d-11cf-b347-00aa00a28331" VIEWASTEXT>
<PARAM NAME="LPKPath" VALUE="activex.lpk">
</OBJECT>
<OBJECT style="LEFT: 0px; TOP: 0px"
codeBase="http://activex.microsoft.com/controls/vb6/comctl32.cab#version=6,0
,81,5" ID="ImageList1" WIDTH=39 HEIGHT=39
CLASSID="CLSID:2C247F23-8591-11D1-B16A-00C0F0283628"

DATA="DATA:application/x-oleobject;BASE64,I38kLJGF0RGxagDA8Cg2KCFDNBIIAAAA7Q
MAAO0DAACAfuHmAAAGACMAAAAQABAAwMDAAP//GQAB782rAAAFAPD3GAAGAAAA/////wUAAIAAAA
AAAwAAAAAAAAMAAAABAAAAbHQAAIsAAABHSUY4OWEQABAAogYAhISEAIQAAISExsbGAAAA//////
//AAAAIfkEAQAABgAsAAAAABAAEAAAA1BoatDuS4kwRbkXkDUxxQVQbNVXmCOhGmU1vG8xbCxFDV
g8K2aA67KN7TLBXX6ET+Xi+wWXHsEPWWvBdDTDEJTLarmgHQfcjTSvV69GxW4TEgA7AgAAAGx0AA
CnAAAAR0lGODlhEAAQALMIAAD/AACAAAAAgMDAwICAgAAA/////wAAAP///wAAAAAAAAAAAAAAAA
AAAAAAAAAAACH5BAEAAAgALAAAAAAQABAAAARUEMkpj72Hkk2wl8Qgeh9hnORxDpnJkoPRgcZ7mX
XBIq53/rseBlfL8Gqjy89g5GyUolGFhOsIWkuDQCCqEbbHqKBQ2HLHWxcgMDC7wc640zJNYSQRAD
sDAAAAbHQAAJMAAABHSUY4OWEQABAAogYAwMDAAACAgICAAAD/////AAAA////AAAAIfkEAQAABg
AsAAAAABAAEAAAA1houlv+S0jxKhQg20eLIODWEYXxBYEFkERqtkO1pqDwBrED1uGd6yGS4vRbkQ
CFwHBH+iADBAHKNJEGVlaU0vBADQZabemzC6OilFdmzQZIxtX4pKTYbBYJADs=">
<PARAM NAME="BackColor" VALUE="-2147483643">
<PARAM NAME="ImageWidth" VALUE="16">
<PARAM NAME="ImageHeight" VALUE="16">
<PARAM NAME="MaskColor" VALUE="12632256">
</OBJECT>
<OBJECT ID="TreeView1" WIDTH=230 HEIGHT=260
CLASSID="CLSID:C74190B6-8589-11D1-B16A-00C0F0283628"
TYPE="application/x-oleobject"

codeBase="http://activex.microsoft.com/controls/vb6/comctl32.cab#version=6,0
,81,5" VIEWASTEXT>
<PARAM NAME="_ExtentX" VALUE="5371">
<PARAM NAME="_ExtentY" VALUE="5080">
<PARAM NAME="_Version" VALUE="393217">
<PARAM NAME="Indentation" VALUE="353">
<PARAM NAME="LabelEdit" VALUE="1">
<PARAM NAME="LineStyle" VALUE="1">
<PARAM NAME="Style" VALUE="7">
<PARAM NAME="Appearance" VALUE="1">
<PARAM NAME="ImageList" VALUE="ImageList1">
</OBJECT>
<OBJECT CLASSID="CLSID:BDD1F04B-858B-11D1-B16A-00C0F0283628"
CODEBASE="http://activex.microsoft.com/controls/vb6/comctl32.cab#version=6,0
,81,5" TYPE="application/x-oleobject" WIDTH="230" HEIGHT="200"
ID="ListView1" VIEWASTEXT>
<PARAM NAME="_ExtentX" VALUE="3334">
<PARAM NAME="_ExtentY" VALUE="2170">
<PARAM NAME="View" VALUE="3">
<PARAM NAME="LabelEdit" VALUE="1">
<PARAM NAME="LabelWrap" VALUE="-1">
<PARAM NAME="HideSelection" VALUE="-1">
<PARAM NAME="FullRowSelect" VALUE="-1">
<PARAM NAME="_Version" VALUE="393217">
<PARAM NAME="ForeColor" VALUE="-2147483640">
<PARAM NAME="BackColor" VALUE="-2147483643">
<PARAM NAME="Appearance" VALUE="1">
<PARAM NAME="NumItems" VALUE="0">
<PARAM NAME="SmallIcons" VALUE="ImageList1">
</OBJECT>


Jamie Hooper

unread,
May 8, 2002, 2:29:28 PM5/8/02
to
I've noticed similar issues with the imagelist and treeview control
after applying the IE cumulative security patch for March 28 2002.
See MS02-015 article. This patch applies to Ie5.5 and 6.0 Check the
version of IE in help about and see if Q319182 is applied. This might
be the culpret.

We are have major issues with this since applying that security patch.
1.) The treeview control on our intranet is blank after installing the
patch on W2K and 98 machines. It is possible to backoff IE5.5sp2 +
Q319182 to 5.0 in Win98 but in W2k ...
2.) We are unable to backoff IE on our W2K machines to IE5.0 or IE5.5
sp1 to remove the security patch. So we decided to go to IE6.0 but...
3.) We have 50% of our machines on win95 which does not support IE6.0
We would like to keep all machines on the same version of IE for
support reasons but we may be forced to have two versions and upgrade
our intranet webpages.

Hope this helps.
Anyone else have issues with this patch?
Thanks,
Jamie


"Paul Easter" <pmea...@sfire.net> wrote in message news:<#IAFeZ87BHA.2108@tkmsftngp02>...

0 new messages