I know that the CommonDialog exists... but here's a similar one:
I've resized the form (it's resizable) so that it can be seen most of the nodes.
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
Anyway... before anyone points this out, I'll do it myself. It has a dependency. It needs Microsoft Windows Common Controls 6 (because of the TreeView and ImageList)
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
Because I saw that form in other thread, and since I was bored I decided to give it object modularity. Then I decided to compile it as an OCX. Besides, like I said: "I know that the CommonDialog exists..."
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
I've changed a few things... if anyone is interested, ask for it.
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
It'd be cool if you added some of the common folders like My Documents, My Pictures, and maybe My Network Places to it. Could save a user some fumbling about.
Here it is. And I've already thought about the special folders. But, since I have to analyze other's person code (all the TreeView Population is not mine).... that might take a while.
Anyway... I don't think anyone should use it as a control (because you should include this OCX and Microsoft Windows Common Controls). You can use the code itself and get rid of the OCX.
Last edited by Mc Brain; Sep 1st, 2002 at 05:49 PM.
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
Originally posted by Mc Brain Here it is. And I've already thought about the special folders. But, since I have to analyze other's person code (all the TreeView Population is not mine).... that might take a while.
Anyway... I don't think anyone should use it as a control (because you should include this OCX and Microsoft Windows Common Controls). You can use the code itself and get rid of the OCX.
I was planning on trying to use it in a program where I already use the Windows Common Controls.
Originally posted by MidgetsBro I was planning on trying to use it in a program where I already use the Windows Common Controls.
That's the idea.
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
Anyway... I'm experiencing the same problem as when creating and deleting folders in W2K. Sometimes, the folder gets locked... and you cannot deleted it. You need to restart the machine.... and when you restart you realized that the folder was deleted, but the explorer wasn't updated. So it seemed like the folder was there, but it wasn't. So, when you try to delete it you can't... because the folder doesn't exist.
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
Originally posted by Mc Brain Anyway... I'm experiencing the same problem as when creating and deleting folders in W2K. Sometimes, the folder gets locked... and you cannot deleted it. You need to restart the machine.... and when you restart you realized that the folder was deleted, but the explorer wasn't updated. So it seemed like the folder was there, but it wasn't. So, when you try to delete it you can't... because the folder doesn't exist.
I always have that problem with files and folders in 2000. My Quick Launch Bar especially. When I install a new program that puts an icon there, it leaves the old one there, but when I try to delete the old one, it says Access Denied. I found out if I close the QL bar and reopen it, it will refresh the icons and get rid of the one that doesn't exist.
Originally posted by MidgetsBro I always have that problem with files and folders in 2000. My Quick Launch Bar especially. When I install a new program that puts an icon there, it leaves the old one there, but when I try to delete the old one, it says Access Denied. I found out if I close the QL bar and reopen it, it will refresh the icons and get rid of the one that doesn't exist.
Killing explorer.exe and re-running it, also fix the problem. (But I had to delete the folders manually.... but didn't raise an error) I'm wondering when they will fix that bug.
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
What else could "we" need if we wanted to avoid "Common Dialog"??
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
Originally posted by BuggyProgrammer well... you could extract the shell icons at runtime so it looks better on different oses, and it wouldn't hurt to add a right clik menu....
The icons are loaded in runtime. The ones I've no idea how to extract are the LNKs. I'm working on the properties....
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
Last edited by Mc Brain; Sep 4th, 2002 at 12:48 AM.
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
Originally posted by Mc Brain The icons are loaded in runtime. The ones I've no idea how to extract are the LNKs. I'm working on the properties....
Just in case you didn't understand. I'm extracting the default icon (from the registry) and loading it into the ListView. I can't load some EXE icons... don't have a clue why.
Last edited by Mc Brain; Sep 4th, 2002 at 01:04 AM.
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
Originally posted by aoeBombcat Mc Brain, you saved me a lot of time trying to figure out how do create something like this. I was having so much trouble loading the treeview!!
Thank you very much.
I'm glad I could help, but the TreeView-loading code is not mine. I just upgraded some code I found, and made it an usercontrol.
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
I am a beginner in VB, and I was trying to create something exactly like what you create as a beginner project. But I was having so much trouble loading the treeview with the folder information, I spend 2 days on it (around 8 hours) but I still can not get past the first 2 sub nodes....... At least now I have the solution to study what went wrong.
Thanks
Oh, by any chance do you have any good beginner book that you would recommand? I already have the beginning VB.net 2nd Ed book, but it is not helping.
I think I need a book that can tell me what all the object does, what methods they have and what they are for. I have been doing C++ for a few years, so I know how to program.
Originally posted by aoeBombcat ... Oh, by any chance do you have any good beginner book that you would recommand? I already have the beginning VB.net 2nd Ed book, but it is not helping.
I think I need a book that can tell me what all the object does, what methods they have and what they are for. I have been doing C++ for a few years, so I know how to program.
Is there such a book?
Thank you again
Srry, I don't know. I "raised" myself with tutorials and stuff I found online. Probably, someone on the forums might give you a nice tip about any good book. Good luck.
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
In response to what a user asked... here's a new version which lets you set the CheckBoxes property to true, so that the user can select more than one folder.
Last edited by Mc Brain; Nov 15th, 2004 at 07:53 PM.
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
The control is excellent. I am wondering, (I hope this is not too much to ask), can the control stay visible at all times so users can select and deselect folders in real time?
Originally posted by baja_yu The control is excellent. I am wondering, (I hope this is not too much to ask), can the control stay visible at all times so users can select and deselect folders in real time?
You might try another control instead.
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.