Thread View: borland.public.cppbuilder.deployment
1 messages
1 total messages
Started by Mark Richards
Fri, 14 Sep 2007 22:46
sorry if wrong group but where can i store an application global file on Vista systems...
Author: 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?
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads