Adding picture/icon in ListView Control

  • Thread starter Thread starter SiewSa
  • Start date Start date
S

SiewSa

I cannot find the way to attach a picture/icon to my items in the listview
control even it was set to be shown in small items view.

The command I am using is:

ListView.Items.Add(New ListViewItem("xxxx", 1)
where "xxxx" is a string and 1 is the listing no of my icon in the image
list. However, the system is prompting error on that.

Other than that, I cannot show a picture on my message box also, like what
we could in vb.net, vbquestion/vbinformation.....those kind of pictures. Is
there anyways to do it in compact framework?

Thanks, to whom are helping me with the above matters. Thank you.
 
Back
Top