Click here to Skip to main content
15,929,504 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralFreehand drawing in VB.NET Pin
meghadwivedi16-May-05 2:51
meghadwivedi16-May-05 2:51 
GeneralRe: Freehand drawing in VB.NET Pin
Christian Graus16-May-05 14:20
protectorChristian Graus16-May-05 14:20 
Generalsend fax through fax service Pin
amit__816-May-05 1:42
amit__816-May-05 1:42 
GeneralRe: send fax through fax service Pin
Gavin Jeffrey16-May-05 4:32
Gavin Jeffrey16-May-05 4:32 
GeneralRe: send fax through fax service Pin
amit__816-May-05 18:34
amit__816-May-05 18:34 
QuestionHow can I stop page-tracking after printer finished printing? Pin
S.Mostapha Kalami16-May-05 1:33
S.Mostapha Kalami16-May-05 1:33 
GeneralSelecting items in the ListView Control Pin
cpod15-May-05 18:05
cpod15-May-05 18:05 
GeneralRe: Selecting items in the ListView Control Pin
carlos_rocha16-May-05 4:01
carlos_rocha16-May-05 4:01 
Hi!

1 - Concerning adding items and associating an image to them you could associate an ImageList to the smallImageList or largeImageList property of the class and then when you're creating the items do:

myListView.Items.Add(New ListViewItem("blablabla", myImageIndex))

myImageIndex is the imageList index of the image you whish to show in the item.

2- To show Info about ONE selected item you have to put this code in the doubleClick event of the Listview:

myListView = CType(sender,ListView)
ListViewSelectedText = myListView.SelectedItems(0).Text

With this you're getting the text of the item.You can also have for example some info in the tag property...

ListViewSelectedTag = myListView.SelectedItems(0).Tag

NOTE: If you have the multiselect property active then you'll have to iterate through the selectedItems collection and get the info you need

Never say never
GeneralRe: Selecting items in the ListView Control Pin
cpod16-May-05 19:26
cpod16-May-05 19:26 
GeneralRe: Selecting items in the ListView Control Pin
carlos_rocha16-May-05 22:04
carlos_rocha16-May-05 22:04 
Questionhow to get email and read its content + filtering Pin
TIFC15-May-05 17:38
TIFC15-May-05 17:38 
AnswerRe: how to get email and read its content + filtering Pin
Colin Angus Mackay16-May-05 1:30
Colin Angus Mackay16-May-05 1:30 
Questionhow to create a multithreaded server Pin
TIFC15-May-05 17:35
TIFC15-May-05 17:35 
Generalplease guide me... Pin
besah15-May-05 17:24
besah15-May-05 17:24 
GeneralRe: please guide me... Pin
Christian Graus16-May-05 14:21
protectorChristian Graus16-May-05 14:21 
GeneralIdentity a row in database table Pin
VOmigrant15-May-05 15:27
VOmigrant15-May-05 15:27 
GeneralRe: Identity a row in database table Pin
Colin Angus Mackay16-May-05 1:25
Colin Angus Mackay16-May-05 1:25 
GeneralCustom textbox control Pin
Anonymous15-May-05 11:34
Anonymous15-May-05 11:34 
GeneralCan't run Data Form Wizard Pin
endersek15-May-05 3:07
endersek15-May-05 3:07 
Generalhelp in searching records Pin
vaiology15-May-05 2:07
vaiology15-May-05 2:07 
GeneralProblem with DB ! Pin
microuser_200015-May-05 0:09
microuser_200015-May-05 0:09 
GeneralRe: Problem with DB ! Pin
Colin Angus Mackay15-May-05 0:17
Colin Angus Mackay15-May-05 0:17 
GeneralRe: Problem with DB ! Pin
Anonymous15-May-05 7:17
Anonymous15-May-05 7:17 
GeneralRe: Problem with DB ! Pin
Colin Angus Mackay16-May-05 1:21
Colin Angus Mackay16-May-05 1:21 
Generalpls i want to load at runtime a user control desinged at design time Pin
monica2k14-May-05 14:04
monica2k14-May-05 14:04 

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.