Article View: borland.public.cppbuilder.deployment
Article #89sorry if wrong group but where can i store an application global file on Vista systems...
From: Mark Richards
Date: Fri, 14 Sep 2007 22:46
Date: Fri, 14 Sep 2007 22:46
30 lines
2322 bytes
2322 bytes
<language>C++Builder 2007 upgrade 3 installed</language> <application>VCL Forms Win32</application> <devOS>Windows XP Pro</devOS> <TargetOS>windows xp home, pro, and now Vista<targetOS> My current app works under XP(home and pro) and is NORMALY installed in program files/acds-pumps The application is launched by sereveal users in the course of a working day from the same pc, and they all log on as different users, none of which have Administrator privlege set. I use ParamStr(0) to work out the applications folder, so that whenever the application is run, it can store a few details in a txt file stored in the application folder. This file is periodically reviewed, to see how much use the computer gets per userext log file, this is an audit trail I understand now that my application will not be able to write to this file when running under Vista unless the user is an Administrator How do I therefore find a suitable folder in which to write this file so my application can function as required? I would like a common area, so that the shift supervisors do not have to look in everybodies user accounts to see what work was done.I assume such a location exists under Vista? If it has %pathtofolder% then does anyone know how to translate the bits inside the %% to a physical path?
Technical Details
Message-ID:
<46eb0f1b@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f8e54,59777c3d22ba7c37,start X-Google-Attributes: gidf8e54,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Mark Richards" <markcr@wapthespamntlworld.com> Newsgroups: borland.public.cppbuilder.deployment Subject: sorry if wrong group but where can i store an application global file on Vista systems... Date: Fri, 14 Sep 2007 23:46:05 +0100 Lines: 32 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 81.103.92.168 Message-ID: <46eb0f1b@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1189809947 81.103.92.168 (14 Sep 2007 15:45:47 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail