I'm trying to extract an icon from the process by finding it with the name of the process.
Here is what I have so far.
I.E - ListBox1.Select edItem.Tostring = "chrome"
Here is what I have so far.
I.E - ListBox1.Select edItem.Tostring = "chrome"
Code:
ico2 = Icon.ExtractAssociatedIcon(System.Diagnostics.Process.GetProcessesByName(ListBox1.SelectedItem.ToString).ToString)