[DUG] Question about running an app. across a network
David Moorhouse
David.Moorhouse at pegasus.org.nz
Wed Jul 8 23:39:04 NZST 2015
You could store the INI file in the user's document directory. Use the Windows API call to fetch the location.
Cheers
D
________________________________
From: delphi-bounces at listserver.123.net.nz <delphi-bounces at listserver.123.net.nz> on behalf of Jeremy Coulter <jscoulter at gmail.com>
Sent: Wednesday, 8 July 2015 9:58 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] Question about running an app. across a network
Hi All.
I have an app that I will be running from a server location. However, I want the app. to read an ini file that is located in a folder on a client machine.
A Shortcut to the app on the server and the ini file will live in a folder on the client machine, but I cant work out how to get the app, when its run via the shortcut, to read the ini file on the client machine.
Anyone know how to go about doing this?
I have thought about dropping the INI and transferring the settings to a database with a row for each machine that connects, but before I get that carried away, I just wanted to see if someone had any ideas to do the above with the ini file.
The reason I want an ini for each computer is about settings. Not all machines have the same settings etc.
Thanks, Jeremy
********************************************************************************
This email or attachment(s) may contain confidential or legally privileged
information intended for the sole use of the addressee(s). Any use, redistribution,
disclosure, or reproduction of this message, except as intended, is prohibited.
If you received this email in error, please notify the sender and erase all
copies of the message, including any attachments.
Any views or opinions expressed in this email (unless otherwise stated) may not
represent those of Pegasus Health Ltd.
********************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20150708/005b611a/attachment.html
More information about the Delphi
mailing list