Hello, I am currently using the code below
To populate my listview control with the shortcuts that in in the "\Programs" folder.Code:Dim programsdir = Application.StartupPath & "\Programs" Dim listprograms = System.IO.Directory.GetFiles(programsdir) For Each sFile As String In listprograms lvPrograms.Items.Add(sFile) Next
The problem I'm having is that I want it to extract the icon off of the shortcut and load that into the listview control instead of the file path.
I have been trying this for hours in a very varied ammount of ways.. can anyone shed me some of their knowledge please??
Thank you




Reply With Quote