Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Attach & Delete File
Message
From
31/12/2005 10:48:51
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01082209
Message ID:
01082261
Views:
8
Thanks Sergey,

It works fine for to delete the file.

but I have another question for this line of code to retrieve an icon from

(Ole ImageListctrl properties in Images - index 1) from another ActiveX control.

Always give the first icon ( index 1) for word.doc even my excel.xls (index 2) was attached to the Listview1, the same word icon for excel.xls

How to code to get the right icon as variant for each file attached ?
for me, I put 1 that is why, get 1 word.doc by default.

TIA for anybody who can help me out.
thisform.listView1.ListItems.Add(index as variant,key as variant,text as variant,icon as variant,smallicon as variant) as lListItem

*icon as variant = 1, how to get 2 for excel.xls

loItem1 =thisForm.listview1.listItems.Add(,,m.myfile,1,1)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform