|
-
Mar 19th, 2000, 01:06 AM
#1
Thread Starter
Lively Member
Hello,
How can I get a folders type? ie a ordinary folders type is 'File Folder" and the history folder is 'History'.
If that makes sense then please help me.
many thanks,
Desire.
-
Mar 19th, 2000, 01:39 AM
#2
Addicted Member
Well, there's no simple solution. However, I think that the location of each special folder is stored in the registry (not sure where though). You could read those values, compare them to the folder you're working on to determine whether or not it is a nromal folder.
-
Mar 19th, 2000, 04:17 AM
#3
transcendental analytic
I think, there are no such thing as folder type. Those folders like history are created by windows, and cannot be differed from any other folder, by any other OS. It's in the registry, yes - And thats all. The folder icon that looks like a history icon, can be changed, like any other folders icon. I have a iconeditor that does that.
-
Mar 19th, 2000, 04:37 AM
#4
Lively Member
try this...
Dim fso As New FileSystemObject
Dim typename As String
typename = fso.GetFolder("C:\WINDOWS\Favorites").Type
MsgBox typename
hope thats what your looking for
-
Mar 20th, 2000, 05:15 AM
#5
Thread Starter
Lively Member
Thanks
Hello,
Thanks everybody for you ideas and especially _bman_
whose sample code worked a treat, I believe that's the second you have helped me out this week so many thanks to you.
Desire.
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
|