main logo
Subject: RE: Get location (full path) of Documents and Settings
Author: "Dave Crozier"
Posted: 2006/09/30 11:33:29
 
View Entire Thread
New Search


Well Found Andrew,
You've liberated an extra couple of hours drinking time for me this weekend.

Dave Crozier

-----Original Message-----
From: profox-bounces (at) leafe .D.OT com [mailto:profox-bounces@leafe.com] On Behalf
Of Paul Newton
Sent: 29 September 2006 19:36
To: profox (at) leafe .D.OT com
Subject: Re: Get location (full path) of Documents and Settings

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: profox-bounces@leafe.com [mailto:profox-bounces (at) leafe .D.OT com] On Behalf
> Of Ted Roche
> Sent: 29 September 2006 15:06
> To: profox@leafe.com
> Subject: Re: Get location (full path) of Documents and Settings
>
> On 9/29/06, Paul Newton <paul (at) foxpertise .D.OT com> 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]


 
©2006 Dave Crozier
<-- Prior Message New Search Next Message -->