Click here to Skip to main content
16,021,125 members

Comments by CBO1987 (Top 3 by date)

CBO1987 17-Oct-15 0:20am View    
Yes sir
CBO1987 14-Jul-15 11:18am View    
Thank you very much, that helped a lot!
CBO1987 2-Mar-15 16:46pm View    
In the treeView1_AfterSelect when the user clicks on something I want it to be selected to the same part of the index as treeView2

I tried something like
treeView1.SelectedNodes.Node = treeview2.SelectedNodes.Node

It works like if you click on a node in treeView1...treeView2 will actually open it up so index[0] of treeview1 would be equal to index[0] of treeview2 and so on

I am using it to create an mp3 player ... treeView1 would be the folder and song names and treeView2 would be the file directories/file names and extensions. I already have the treeviews populated but am not sure how to set them equal to each other. Hopefully this makes more sense. Sorry I am new to programming.