Tx John
Will take a look at it even though it looks as if Andrew's suggestion is exactly what I was looking for
john harvey wrote: > Install scriptomatic from Microsoft (freeware - imagine that) and let it > generate the wmi code for you. You can then pull it into Fox. > > John Harvey > > -----Original Message----- > From: profox-bounces AT leafe .DOT com [mailto:profox-bounces@leafe.com] On Behalf > Of Ted Roche > Sent: Friday, September 29, 2006 8:06 AM > 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 > >
©2006 Paul Newton |