Re: [BLACKBOX] Getting the User\Local Settings\Application Data\ path

From: [at]} <Marc>
Date: Thu, 24 Jan 2008 17:25:30 -0800

----boundary-LibPST-iamunique-1884764103_-_-
Content-type: text/plain

> CONST
> CSIDL_LOCAL_APPDATA* = 1CH;

Oh, and I should note that if you want to get a path
for a variety of predefined folders, you can look at
this page to find the values of the hex codes:

http://factorcode.org/responder/source/extra/windows/shell32/shell32.factor

So, for example, if you want to save to the user's
"Application Data" folder instead of their
"Local Settings/Application Data" folder
(which is actually what I wanted to do!), then
you could instead use this constant as an argument
to the function call:

CONST
  CSIDL_APPDATA* = 1AH;

Marc


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1884764103_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwID4gQ09OU1RccGFyDQo+ICAgQ1NJRExfTE9DQUxf
QVBQREFUQSogPSAxQ0g7IFxwYXINClxwYXINCk9oLCBhbmQgSSBzaG91bGQgbm90ZSB0aGF0IGlm
IHlvdSB3YW50IHRvIGdldCBhIHBhdGhccGFyDQpmb3IgYSB2YXJpZXR5IG9mIHByZWRlZmluZWQg
Zm9sZGVycywgeW91IGNhbiBsb29rIGF0XHBhcg0KdGhpcyBwYWdlIHRvIGZpbmQgdGhlIHZhbHVl
cyBvZiB0aGUgaGV4IGNvZGVzOlxwYXINClxwYXINCmh0dHA6Ly9mYWN0b3Jjb2RlLm9yZy9yZXNw
b25kZXIvc291cmNlL2V4dHJhL3dpbmRvd3Mvc2hlbGwzMi9zaGVsbDMyLmZhY3RvclxwYXINClxw
YXINClNvLCBmb3IgZXhhbXBsZSwgaWYgeW91IHdhbnQgdG8gc2F2ZSB0byB0aGUgdXNlcidzXHBh
cg0KIkFwcGxpY2F0aW9uIERhdGEiIGZvbGRlciBpbnN0ZWFkIG9mIHRoZWlyXHBhcg0KIkxvY2Fs
IFNldHRpbmdzL0FwcGxpY2F0aW9uIERhdGEiIGZvbGRlclxwYXINCih3aGljaCBpcyBhY3R1YWxs
eSB3aGF0IEkgd2FudGVkIHRvIGRvISksIHRoZW5ccGFyDQp5b3UgY291bGQgaW5zdGVhZCB1c2Ug
dGhpcyBjb25zdGFudCBhcyBhbiBhcmd1bWVudFxwYXINCnRvIHRoZSBmdW5jdGlvbiBjYWxsOlxw
YXINClxwYXINCkNPTlNUXHBhcg0KICBDU0lETF9BUFBEQVRBKiA9IDFBSDsgXHBhcg0KXHBhcg0K
TWFyY1xwYXINClxwYXINClxwYXINCi0tLS1ccGFyDQpUbyB1bnN1YnNjcmliZSwgc2VuZCBhIG1l
c3NhZ2Ugd2l0aCBib2R5ICJTSUdOT0ZGIEJMQUNLQk9YIiB0byBMSVNUU0VSVkBMSVNUUy5PQkVS
T04uQ0hccGFyDQp9
----boundary-LibPST-iamunique-1884764103_-_---
Received on Fri Jan 25 2008 - 02:25:30 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:31:07 UTC