Dave Crozier wrote:
Paul,
Take a look at http://www.mvps.org/access/api/api0054.htm

There is VB code to get the "Special Folder" locations and it doesn't look
too difficult to convert to VFP. I may have a go over the weekend.

If you saw Andrew's reply you will have seen that somebody has already done the work for you - so you can spend the time relaxing with a beer instead !


Dave Crozier
 The secret to staying young is to live honestly, eat slowly, and to lie
about your age
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Ted Roche
Sent: 29 September 2006 15:06
To: [email protected]
Subject: Re: Get location (full path) of Documents and Settings

On 9/29/06, Paul Newton <[EMAIL PROTECTED]> wrote:
I am trying to print out the hierarchy of the windows Start Menu - so I need the location of Documents and Settings and if the user's Visual FoxPro My Documents directory is not in its default location then your suggestion will not work - it works fine otherwise, so thank you.


So, you'll likely want to find an example that uses the Win32API call to
GetSpecialFolderLocation. I'll bet that news2news or one of those sites
would have it. I Googled "Win32API documents directory" and found
http://www.microsoft.com/msj/0597/win320597.aspx

--
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to