Re: Program Files path

2007-12-05 Thread MB Software Solutions
Kent Belan wrote: > Thank you very much ... I new there was a function just could not remember > it. > > Thanks to Michael and Dave for your help also, > This list is the best, > Merry Christmas, > Kent > We try. It's all we foxers can do to support each other! ;-) -- Michael J. Babcock, MC

RE: Program Files path

2007-12-05 Thread Kent Belan
: Wednesday, December 05, 2007 12:11 PM To: profox@leafe.com Subject: RE: Program Files path GETENV("programfiles") -- Christof [excessive quoting removed by server] ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.c

RE: Program Files path

2007-12-05 Thread Allen
No I think I misunderstood the question Allen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MB Software Solutions Sent: 05 December 2007 18:06 To: [EMAIL PROTECTED] Subject: Re: Program Files path Allen wrote: > I use sys(5) + sys(2003) for dev

RE: Program Files path

2007-12-05 Thread Dave Crozier
Slight Addition to the defines!! I missed the important one out * Start of Code * #DEFINE CSIDL_DESKTOPDIRECTORY 0x0010 &&The Desktop folder #DEFINE CSIDL_WINDOWS 0x0024 &&The Windows directory or SYSROOT #DEFINE CSIDL_PROGRAM_FILES 0x0026 && The Program Files folder #DEFINE CSIDL_

RE: Program Files path

2007-12-05 Thread Dave Crozier
Kent, Here is the API version, #DEFINE CSIDL_DESKTOPDIRECTORY 0x0010 &&The Desktop folder #DEFINE CSIDL_WINDOWS 0x0024 &&The Windows directory or SYSROOT #DEFINE CSIDL_PROGRAM_FILES 0x0026 && The Program Files folder LOCAL cSpecialFolderPath, cDesktopPath cSpecialFolderPath = space(255) DECLARE

RE: Program Files path

2007-12-05 Thread Christof Wollenhaupt
GETENV("programfiles") -- Christof ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.c

RE: Program Files path

2007-12-05 Thread Dave Crozier
Kent, This method uses Scripting. I have an API version if you need it. *!* cSpecialFolder = "AllUsersDesktop" *!* cSpecialFolder = "AllUsersPrograms" *!* cSpecialFolder = "AllUsersStartMenu" *!* cSpecialFolder = "AllUsersStartup" *!* cSpecialFolder = "Favorites" *!* cSpecialFolder = "Fonts" *!* c

Re: Program Files path

2007-12-05 Thread MB Software Solutions
Allen wrote: > I use sys(5) + sys(2003) for dev and exe's > Allen > Unless I misunderstood his question, how does that help him? -- Michael J. Babcock, MCP MB Software Solutions, LLC http://mbsoftwaresolutions.com http://fabmate.com "Work smarter, not harder, with MBSS custom software solut

Re: Program Files path

2007-12-05 Thread MB Software Solutions
Kent Belan wrote: > Hello, > How can I determine the drive and full path where the Program Files folder > is located? > > Thanks, > Kent > You mean from a VFP program? Perhaps the GETENV()? There's some more things perhaps of help at fox.wikis.com when you search for GETENV. hth, --Michael

RE: Program Files path

2007-12-05 Thread Allen
I use sys(5) + sys(2003) for dev and exe's Allen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kent Belan Sent: 05 December 2007 17:55 To: [EMAIL PROTECTED] Subject: Program Files path Hello, How can I determine the drive and full path where the Program