Using these controls on my computer is no problem. When I sent the beta of my project to my friend that has just the framework installed, he gets an error when the form loads that has these controls on it.
So here is what I am wondering. Do I need to send out some additional files with my project to make these work? Or does anyone have any code that can help me get rid of these controls all together? I think I would perfer a different way if any of you have one.
I haven't used the VB6 compatability stuff, but it wouldn't surprise me if they relied upon the VB6 runtime, msvbvm60.dll.
I saw something on this, but I can't get over to c-sharpcorner.com right now. I think the server's down again. You might need to modify the list view / tree view / combo box controls to simulate the dir and file list box functionality.
I found some VB.Net code on Planet Source Code that looks like it will work. I am going to port that over to C#, and if it works, I will post it here so others can use it.
I have a book that has code to fill a treeview up with directories, which is what I need, but I keep getting errors because I am trying to associate icons with the directories and such. Like I said, when I get a solution, I will post it here for all.
Adding "DriveListBox","DirListBox", and "FileListBox" to VS.NET Toolbox:
Right Click "Toolbox"
select "Customize Toolbox"
Select the ".NET Framework Component" tab
Select the "DriveListBox","DirListBox", and "FileListBox" checkboxes and hit OK
Now you can drag and drop the "DriveListBox","DirListBox", and "FileListBox" into the Windows Form.
That is what I was using, but they seem to cause errors on my friends computer, even though there is no errors on my computer. All he did was do the windows update and got the framework, so I am kind of relying on his computer to help me debug the app on a computer that doesn't have VS6 and VS.Net installed.
I have now ported over some VB code I found at Planet Source Code. I have included the app here. It is actually pretty good for browsing folders. Didn't even know some of this stuff was in the .Net framework. I customized it a little to fit my needs.