main logo
Subject: Re: Get location (full path) of Documents and Settings
Author: Paul Newton
Posted: 2006/09/29 13:35:33
 
View Entire Thread
New Search


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