Click here to Skip to main content
15,908,674 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Monitoring Internet Pin
Dave Kreskowiak12-May-04 2:43
mveDave Kreskowiak12-May-04 2:43 
GeneralSystem.Web.Mail - Good/Bad or just plain ugly Pin
Greg Eales11-May-04 20:54
Greg Eales11-May-04 20:54 
GeneralRe: System.Web.Mail - Good/Bad or just plain ugly Pin
Dave Kreskowiak13-May-04 7:01
mveDave Kreskowiak13-May-04 7:01 
GeneralNon-inherited Textbox Pin
Aaron Eldreth11-May-04 15:26
Aaron Eldreth11-May-04 15:26 
GeneralRe: Non-inherited Textbox Pin
Dave Kreskowiak12-May-04 2:39
mveDave Kreskowiak12-May-04 2:39 
GeneralRe: Non-inherited Textbox Pin
Aaron Eldreth12-May-04 3:40
Aaron Eldreth12-May-04 3:40 
Generalimages in list view columns Pin
Moonark11-May-04 6:18
Moonark11-May-04 6:18 
GeneralRe: images in list view columns Pin
f6411-May-04 15:46
f6411-May-04 15:46 
Hi,
I don't get what are you trying to do.
Adding images to the items or the columns header is very simple to do, no APIs need it.
Try something like this
Dim li As ListItem
ListView1.ColumnHeaders.Add 1, "col1"
ListView1.ColumnHeaders.Add 2, "col2", "col2"

'ImageList1 must have at least one image.
Set ListView1.SmallIcons = ImageList1
Set ListView1.ColumnHeaderIcons = ImageList1
Set li = ListView1.ListItems.Add(1, "item1", "", , 1)
li.ListSubItems.Add 1, "subItem1", "sutItem", 1
ListView1.ColumnHeaders(1).Icon = 1


I'll suggest you to read the documentation of the control on the MSDN, if after that you still have troubles getting it work as you want, let me know and I'll help you.

Fabian
GeneralRe: images in list view columns Pin
Moonark11-May-04 17:07
Moonark11-May-04 17:07 
QuestionHow to use Amazon Web Services.. Pin
Sumit Kapoor11-May-04 2:42
Sumit Kapoor11-May-04 2:42 
GeneralDumping Symbols fom DLLs Pin
StuartBird11-May-04 1:45
StuartBird11-May-04 1:45 
GeneralVB SCRIPT Help required Pin
prashantnemane10-May-04 23:36
prashantnemane10-May-04 23:36 
GeneralRe: VB SCRIPT Help required Pin
mtone11-May-04 2:02
mtone11-May-04 2:02 
GeneralRe: VB SCRIPT Help required Pin
prashantnemane12-May-04 17:40
prashantnemane12-May-04 17:40 
GeneralRe: VB SCRIPT Help required Pin
mtone13-May-04 4:11
mtone13-May-04 4:11 
GeneralColumn Names in DATA GRID Pin
seemeenejaz10-May-04 22:40
seemeenejaz10-May-04 22:40 
GeneralRe: Column Names in DATA GRID Pin
Syed Abdul Khader11-May-04 1:11
Syed Abdul Khader11-May-04 1:11 
GeneralRe: Column Names in DATA GRID Pin
Nick Seng11-May-04 23:31
Nick Seng11-May-04 23:31 
Generalcalling a stored procedure from VB Pin
FASTian10-May-04 22:39
FASTian10-May-04 22:39 
GeneralRe: calling a stored procedure from VB Pin
Dave Kreskowiak11-May-04 1:27
mveDave Kreskowiak11-May-04 1:27 
GeneralRe: calling a stored procedure from VB Pin
FASTian12-May-04 0:22
FASTian12-May-04 0:22 
GeneralIE Pin
jithen_dt10-May-04 21:19
jithen_dt10-May-04 21:19 
GeneralRe: IE Pin
Colin Angus Mackay11-May-04 1:06
Colin Angus Mackay11-May-04 1:06 
GeneralRe: IE Pin
Edbert P11-May-04 16:58
Edbert P11-May-04 16:58 
GeneralIE Explorer Pin
Anonymous10-May-04 20:54
Anonymous10-May-04 20:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.