Is there a better way to determine the current user's My Documents folder?
To add one more to the pile from Doug Hennig:
http://doughennig.blogspot.com/2007/01/finding-paths-for-special-folders.html
or shortened:
http://is.gd/3GJph6
Rick
White Light Computing, Inc.
On 8/1/2012 11:36 AM, Rick Schummer wrote:
Is there a better way to determine the current user's My Documents folder?
To add one more to the pile from Doug Hennig:
http://doughennig.blogspot.com/2007/01/finding-paths-for-special-folders.html
or shortened:
http://is.gd/3GJph6
Someone
VFP9SP2
I had this code in an older program:
*** mjb 03/03/2010 - changed for Vista and beyond
IF VAL(SUBSTR(OS(),9,1)) = 6 THEN Vista doesn't use My
lcDir = lcDrive + ADDBS(GETENV(HOMEPATH)) + Documents\MyApp2009\
ELSE XP and below use My
lcDir = lcDrive + ADDBS(GETENV(HOMEPATH)) + My
You could try these
http://www.hexcentral.com/articles/foxpro-folders.htm
http://doughennig.blogspot.co.uk/2007/01/finding-paths-for-special-folders.html
Kind regards
Andrew Stirling
01250 874580
supp...@calcpay.co.uk
http://www.calcpay.co.uk
HMRC Accredited since 12/01/2004
On 31/07/2012
)
?GetSpecialFolderLocation(0x0024)
?GetSpecialFolderLocation(0x001c)
--
rk
-Original Message-
From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On
Behalf Of MB Software Solutions, LLC
Sent: Tuesday, July 31, 2012 11:41 AM
To: profoxt...@leafe.com
Subject: Getting the My
5 matches
Mail list logo