G
Guest
Hi,
I've this code:
Dim ImageList1 As New ImageList
ImageList1.Images.Add(Image.FromFile("..\images\statusOK.bmp"))
ImageList1.Images.Add(Image.FromFile("..\images\statusKO.bmp"))
TV.ImageList = ImageList1
Dim rootNode As New TreeNode("Test", 0, 1)
rootNode.Text = "TEST"
TV.Nodes.Add(rootNode)
this works fine in win2003/win2000, but in XP, i cannot see the images in
the treeview. it occurs also in listviews
vb.net/fw1.1/ visualstyle enable
thanks for your help
I've this code:
Dim ImageList1 As New ImageList
ImageList1.Images.Add(Image.FromFile("..\images\statusOK.bmp"))
ImageList1.Images.Add(Image.FromFile("..\images\statusKO.bmp"))
TV.ImageList = ImageList1
Dim rootNode As New TreeNode("Test", 0, 1)
rootNode.Text = "TEST"
TV.Nodes.Add(rootNode)
this works fine in win2003/win2000, but in XP, i cannot see the images in
the treeview. it occurs also in listviews
vb.net/fw1.1/ visualstyle enable
thanks for your help