G
Guest
Hi,
Reg: Vb.net-pocket pc
Currently I am using a ListBox to populate the string values from a text
file. But I wish to use a ListView control instead. In the first
ColumnHeader, the first field from the text file is stored. In the second
column header, the second field is stored.
In the third column header, I wish to store the rest of the fields in the
record and also wish to make the third column header invisible. So the
listview will display only 2 columns, eventhough i am populating the third
column. So, whenever the user is selecting an item, I wish to retrieve the
data from the Third column header also.
ListView1.Columns(2).Width = 0 I have tried this option to make the third
column invisible. But while resizing the column headers, finally the third
column gets displayed.
My intention is to display only the two field from the text file and all the
other fields should be with the listview. But it should not be visible.
Seeking your valuable suggestions,
Regards,
Hari
Reg: Vb.net-pocket pc
Currently I am using a ListBox to populate the string values from a text
file. But I wish to use a ListView control instead. In the first
ColumnHeader, the first field from the text file is stored. In the second
column header, the second field is stored.
In the third column header, I wish to store the rest of the fields in the
record and also wish to make the third column header invisible. So the
listview will display only 2 columns, eventhough i am populating the third
column. So, whenever the user is selecting an item, I wish to retrieve the
data from the Third column header also.
ListView1.Columns(2).Width = 0 I have tried this option to make the third
column invisible. But while resizing the column headers, finally the third
column gets displayed.
My intention is to display only the two field from the text file and all the
other fields should be with the listview. But it should not be visible.
Seeking your valuable suggestions,
Regards,
Hari