|
-
Nov 11th, 2008, 11:04 AM
#1
Re: How to get a list of all files and folders in a drive
Are you okay with using FSO?
If yes then try this
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Nov 11th, 2008, 11:21 AM
#2
Thread Starter
PowerPoster
Re: How to get a list of all files and folders in a drive
 Originally Posted by koolsid
Are you okay with using FSO?
If yes then try this
On quick glance, it looks like it'll do the job, although it is a bit slow and processor-intensive (although the drive I am checking IS 500GB, so it will be slow to check :-)).
I'm happy trying any suggestions, whatever it entails...I want to find the fastest one for my requirements :-)
Any idea if this can handle hidden files/folders?
And Si, thanks...that SHOULD be a very useful suggestion...would make a great deal of difference. I could in theory add that to the section which adds new directories found and it only adds it to the array IF the link is indeed a directory...exactly what I was after :-)
Edit: Si, I've made the changes you suggested (mixed with what I just said) and it works although at the moment there's a few bugs. When I have a fully working function I'll post it here so people can help improve it and so others can use it
Last edited by smUX; Nov 11th, 2008 at 11:45 AM.
Well, everyone else has been doing it :-)
Loading a file into memory QUICKLY - Using SendKeys - HyperLabel - A highly customisable label replacement - Using resource files/DLLs with VB - Adding GZip to your projects
Expect more to come in future
If I have helped you, RATE ME! :-)
I love helping noobs with their VB problems (probably because, as an amateur programmer, I am only slightly better at VB than them :-)) but if you SERIOUSLY want to get help for free from a community such as VBForums, you have to first have a grounding (basic knowledge) in VB6, otherwise you're way too much work to help...You've got to give a little if you want to get help from us, in other words!
And we DON'T do your homework. If your tutor doesn't teach you enough to help you make the project without his or her help, FIND A BETTER TUTOR or try reading books on programming! We are happy to help with minor things regarding the project, but you have to understand the rest of it if you want our help to be useful.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|