Page 1 of 1

Posted: Fri Mar 22, 2002 2:48 pm
by BackupUser
Restored from previous forum. Originally posted by PB.

Anyone know how to?


PB - Registered PureBasic Coder

Posted: Fri Mar 22, 2002 3:13 pm
by BackupUser
Restored from previous forum. Originally posted by Paul.

There is a code snippet on the PB Resources Site called SpecialFolders, this might help you.

Posted: Fri Mar 22, 2002 3:35 pm
by BackupUser
Restored from previous forum. Originally posted by PB.

> There is a code snippet on the PB Resources Site called SpecialFolders

Many thanks Paul, but it doesn't show the location of "My Documents". The
constant for that is #CSIDL_PERSONAL, but that isn't listed in the snippet.
Update: I just found out that the value for #CSIDL_PERSONAL is 5.

As a side-note, now that I can read Registry keys, I've discovered there's a
whole bunch of special folder locations stored here:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellFolders


PB - Registered PureBasic Coder

Edited by - PB on 22 March 2002 15:48:16

Posted: Fri Mar 22, 2002 4:23 pm
by BackupUser
Restored from previous forum. Originally posted by Paul.

What can I say... I only listed the ones that I occasionally use. :)

Anyways, I mentioned it as to point you in the right direction.
(much quicker than having to slug through the Win API)

Posted: Fri Mar 22, 2002 4:28 pm
by BackupUser
Restored from previous forum. Originally posted by PB.

> What can I say... I only listed the ones that I occasionally use. :)

Unfortunately it lacked the very one that I needed.

> Anyways, I mentioned it as to point you in the right direction.
> (much quicker than having to slug through the Win API)

I appreciate it -- I ended up getting what I wanted from it, so thanks!
It did indeed help me in my quest -- LOL!


PB - Registered PureBasic Coder

Edited by - PB on 22 March 2002 16:30:10