Click here to Skip to main content
16,013,082 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionTree View and Folders directories Pin
FriendlySoluations26-May-07 3:45
FriendlySoluations26-May-07 3:45 
AnswerRe: Tree View and Folders directories Pin
alhokail26-May-07 11:31
alhokail26-May-07 11:31 
GeneralRe: Tree View and Folders directories Pin
FriendlySoluations26-May-07 21:22
FriendlySoluations26-May-07 21:22 
GeneralRe: Tree View and Folders directories Pin
alhokail26-May-07 22:00
alhokail26-May-07 22:00 
GeneralRe: Tree View and Folders directories Pin
FriendlySoluations26-May-07 22:47
FriendlySoluations26-May-07 22:47 
GeneralRe: Tree View and Folders directories Pin
alhokail27-May-07 9:52
alhokail27-May-07 9:52 
GeneralRe: Tree View and Folders directories Pin
FriendlySoluations27-May-07 23:00
FriendlySoluations27-May-07 23:00 
GeneralRe: Tree View and Folders directories Pin
alhokail28-May-07 7:49
alhokail28-May-07 7:49 
to add items you just need to call ListView1.Items.Add("aa" ,0) to add an item called "aa" with icon index of 0

the index of the icons is found from an ImageList control that you have to add and insert images into.

after adding the ImageList, you have to specify the Me.ListView1.LargeImageList = Me.ImageList1 to define the large images of the items and then change the image size in the ImageList to 32,32.

by default, the ListView control displays LargeIcons (after setting up the steps before) but just in case you have to specify the propoprty ListView1.View = View.LargeIcon

hope this helps you..
Khalid
QuestionConvert first letter of each word to uppercase Pin
samerh26-May-07 3:27
samerh26-May-07 3:27 
AnswerRe: Convert first letter of each word to uppercase Pin
Colin Angus Mackay26-May-07 5:45
Colin Angus Mackay26-May-07 5:45 
AnswerRe: Convert first letter of each word to uppercase Pin
CPallini26-May-07 10:24
mveCPallini26-May-07 10:24 
AnswerRe: Convert first letter of each word to uppercase Pin
Duncan Edwards Jones28-May-07 3:09
professionalDuncan Edwards Jones28-May-07 3:09 
Questionhow can a software check for recent updates and download the files within the application Pin
raj_aish26-May-07 3:19
raj_aish26-May-07 3:19 
AnswerRe: how can a software check for recent updates and download the files within the application Pin
Thomas Stockwell26-May-07 15:42
professionalThomas Stockwell26-May-07 15:42 
QuestionHow to set timeout in VB.net Pin
Nguyen Thi Thanh26-May-07 1:31
Nguyen Thi Thanh26-May-07 1:31 
AnswerRe: How to set timeout in VB.net Pin
Dave Kreskowiak27-May-07 7:11
mveDave Kreskowiak27-May-07 7:11 
Questiondisplaying images in datagrid Pin
chiyankrishna26-May-07 0:06
chiyankrishna26-May-07 0:06 
QuestionHOw to pass parameters to a sub called by a thread Pin
sabby200625-May-07 21:30
sabby200625-May-07 21:30 
AnswerRe: HOw to pass parameters to a sub called by a thread Pin
Guffa25-May-07 23:21
Guffa25-May-07 23:21 
GeneralRe: HOw to pass parameters to a sub called by a thread Pin
sabby200627-May-07 19:57
sabby200627-May-07 19:57 
AnswerRe: HOw to pass parameters to a sub called by a thread Pin
Guffa27-May-07 21:27
Guffa27-May-07 21:27 
GeneralRe: HOw to pass parameters to a sub called by a thread Pin
sabby200628-May-07 0:28
sabby200628-May-07 0:28 
AnswerRe: HOw to pass parameters to a sub called by a thread Pin
Guffa28-May-07 7:55
Guffa28-May-07 7:55 
AnswerRe: HOw to pass parameters to a sub called by a thread Pin
Dave Herren26-May-07 12:46
Dave Herren26-May-07 12:46 
QuestionRegarding updation in Datagrid-----Urgently Pin
venkata lakshmi prasanna25-May-07 21:18
venkata lakshmi prasanna25-May-07 21:18 

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.